Output
/doc:<filename> Produces XML documentation for appropriately formatted XML comments in the code.
csc /doc:aProgDocs.xml aProg.cs
/out:<filename> Specifies the name of an output file.
csc /out:greatprogram.exe aProg.cs
/target:<exe|library|module|winexe> Specifies the type of file to be generated. Options are exe for an executable, library for a dll, module for a non-executable module, and winexe for a windows forms program. The default is exe.
csc /target:library /out:musthaveutils.dll aLib.cs
Get C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.