Miscellaneous
@ Uses a response file, which contains a list of compilation commands. Given the following response file named respfile.rsp:
/target:exe aProg.cs
You may use that response file with the following command:
csc @rspfile.rsp
/? Prints a list of help options to the console.
csc /?
/baseaddress:<address> Specifies the base address of a library.
csc /target:library /baseaddress:0x11110000 aLib.cs
/codepage:<id> Indicates the code page to compile programs with (for instance, the id 1252 specifies the ANSI character set).
csc /codepage:1252 aProg.cs
/help Prints a list of help options to the console. Same as /?.
csc /help
/incremental[+|-] Performs a partial build on a program. Only those files that have changed will be recompiled. ...
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.