Compiling C# at the Command Line

I frequently have to compile stuff outside of Visual Studio 2008, to access .Net 4.0. Here is what I came-up with a simple batch file to do it.

%windir%\Microsoft.Net\Framework\v4.0.30319\csc.exe /t:exe /out:getIt.exe getIt.cs /r:SimpleImpersonation.dll /lib:"./"

Comments

Popular posts from this blog

Blocking Bad Light Sources(Sjogren's?)

Hot Spots for Possible B-Cell Disorders(Lupus/Sjogren/Chronic Fatigue)

HttpWebRequest in 3.5