Command Line Compile of ASP.NET Apps#
After trying to figure out a way to break large apps into smaller ones for more frequent updating, I came across a solution.

The following compiles a simple webapp into 2 DLLs, where one folder "CompileTest" would contain a seperate DLL.

I am sure I have some extra stuff in these lines, but they work for now.

vbc.exe /libpath:C:\TEMP\SingleSignOnWithMultipleASPNETApps\bin /r:C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.drawing.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.dll /imports:system /rootnamespace:www.testdomain.com /target:library /out:C:\TEMP\SingleSignOnWithMultipleASPNETApps\bin\www.testdomain.com.dll C:\TEMP\SingleSignOnWithMultipleASPNETApps\*.vb C:\TEMP\SingleSignOnWithMultipleASPNETApps\CompileTest2\*.vb

vbc.exe /libpath:C:\TEMP\SingleSignOnWithMultipleASPNETApps\bin /r:C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.drawing.dll,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.dll,C:\TEMP\SingleSignOnWithMultipleASPNETApps\bin\www.testdomain.com.dll /imports:system /rootnamespace:www.testdomain.com /target:library /out:C:\TEMP\SingleSignOnWithMultipleASPNETApps\bin\www.testdomain.com.Compiletest.dll C:\TEMP\SingleSignOnWithMultipleASPNETApps\CompileTest\*.vb
Categories:
Thursday, July 15, 2004 7:22:05 AM (Central Standard Time, UTC-06:00) #    Comments [0]  | 

 

Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

All content © 2008, Christopher May, Inc
Open Job Positions
On this page
Google Ads
This site
Calendar
<November 2008>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 1.9.6264.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: