Wednesday, January 28, 2009

Compiling ASP.Net 1.1 Projects without VS 2003

So we've moved on from many of our early projects, some we have not converted to 2.0 because very little maintenance is ever needed. The problem is that we still need to recompile these projects on minor updates. Here's how, using CSC.exe, inside of a bat file in the parent folder, assuming that the project exists in domain.com sub folder.

"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe" /t:library /debug /recurse:domain.com\*.cs /out:domain.com\bin\domain.com.dll /r:domain.com\bin\a_ref_library.dll /r:domain.com\bin\another_ref_library.dll
pause

No comments: