2007-10-17 by tamberg
|
Compiling C# Without Visual StudioUsing a state of the art software development environment might boost your productivity - at least if it’s measured in lines of code. However, to understand what is going on behind the scenes using the command line C# compiler csc may be the better choice. Consider this example resulting in a library A.dll and a client program B.exe that references it.
To compile, save the above .cs files and run the following batch file.
Note the /checked compiler option, which should be the default but unfortunately is not. |