Sample Command Lines
Compiles testFile.cs producing testFile.exe:
csc testFile.cs
Compiles testFile.cs producing testFile.dll:
csc /target:library testFile.cs
Compiles testFile.cs and creates Me.exe:
csc /out: Me.exe testFile.cs
Command to Compile all the C# files in the current directory, defines the DEBUG symbol with optimizations on. The output is testFile.exe:
csc /define: DEBUG /optimize /out: testFile.exe *.cs
Command to Compile all of the C# files in the current directory producing a debug version of testFile.dll. No warnings and logo are displayed:
csc /target: library /out: testFile.dll /warn:0 /nologo /debug *.cs
Command to Compile all of the C# files in the current directory to test.xyz (a DLL):
csc /target: library /out: test.xyz *.cs
Also Read Adobe Reader Printing
Know More about DotNet, FXCop, Ncover
If you liked my post, feel free to subscribe to my rss feeds
























BlogoSquare
2 Trackbacks
[...] Also Read Sample Command Lines [...]
[...] Also Read Sample Command Liines [...]