Asp.Net 2.0 發布問題

來源:互聯網
上載者:User
 
昨天在一個QQ群裡有朋友問,asp.net2.0 如何發布(編譯)程式,產生dll。
但是我們從ms獲得的vwd2005 express 不支援發布產生dll的。
可以使用aspnet_compiler.exe 來發布我們的項目。
昨天也從ms上下了一個 .NET Framework 2.0 Software Development Kit (SDK) Beta 2 x86
下載地址 http://www.microsoft.com/downloads/details.aspx?familyid=41070791-8912-4F94-AC46-7CE0E386D5C9&displaylang=en
之後安裝後,通過開始菜單/程式/Mrcrosoft .net framwoks sdk 2.0/sdk command prompt 選擇此項目
dos的介面路徑直接是 C:Program FilesMicrosoft_Visual_Studio_8SDKv2.0>
很方面我們就可以使用 aspnet_compiler.exe
如果使用這個命令呢 輸入aspnet_compiler -?斷行符號
參數使用都出來了而且還是中文的,方便多了
C:Program FilesMicrosoft_Visual_Studio_8SDKv2.0>aspnet_compiler -?
要用來先行編譯 ASP.NET 應用程式的工具 + 生產力
著作權 (C) Microsoft Corporation。著作權所有,並保留一切權利。
用法:
aspnet_compiler [-?] [-m metabasePath | -v virtualPath [-p physicalDir]]
             [[-u] [-f] [-d] targetDir] [-c] [-fixednames]
             [-keyfile file | -keycontainer container [-aptca] [-delaySign]]
-?         列印此協助文本。
-m         應用程式的完整 IIS 中繼資料庫路徑。此開關不能與 -v 或 -p 開關組合。
-v         要編譯的應用程式的虛擬路徑(例如“/MyApp”)。如果指定了 -p,則使用
實體路徑定位應用程式。否則,使用 IIS

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.