headermask image

header image

Sample Command Lines

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

2 Trackbacks

  1. By UNIX ADVANTAGES | Impeccable Timing on November 12, 2008 at 7:49 am

    [...] Also Read Sample Command Lines [...]

  2. By Adobe Printing | Impeccable Timing on November 12, 2008 at 8:01 am

    [...] Also Read Sample Command Liines [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*