The following compiler options are sorted alphabetically. For a categorical list, see Cω Compiler Options Listed by Category.
| Option | Purpose |
|---|---|
| @ | Specify response file to be read for setting additional compiler options. |
| /baseaddress | Specifies the base address for the library to be built. |
| /checked | Generates overflow checks. |
| /codepage | Specifies the codepage to use when opening source files. |
| /debug | Emits debugging information and specifies type of debugging to be used. |
| /define | Defines conditional compilation symbols. |
| /doc | Processes documentation comments and generate an XML comments file. |
| /help | Displays command-line help. |
| /lib | Specifies additional directories to search in for references. |
| /main | Specifies the type that contains the entry point (ignores all other possible entry points). |
| /noconfig | Specifies not to automatically include Csc.rsp file when compiling. |
| /nostdlib | Specifies not to reference standard library (mscorlib.dll). |
| /optimize | Controls whether or not optimizations are enabled. |
| /out | Specifies output file name. |
| /reference | References metadata from the specified assembly. |
| /target | Specify the format of the output file using one of four options:
|
| /warn | Sets warning level. |
| /warnaserror | Treats warnings as errors. |