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

Bad Light Sources(Sjogren's?)

Carbohydrate Ranting

Sjogren's/B-Cell Stuff - Cleaning