|
Option
|
Purpose
|
| @ | Specifies a response file. |
| /? | Lists compiler options to stdout. |
| /baseaddress | Specifies the preferred base address at which to load a DLL. |
| /codepage | Specifies the code page to use for all source code files in the compilation. |
| /debug | Emits debugging information. |
| /define | Defines preprocessor symbols. |
| /delaysign | Adds the cryptographic key but does not sign the assembly. |
| /help | Lists compiler options to stdout. |
| /jcpa | Provides Java-language/COM package associations. This option works only with the /platform:x86 option. |
| /keycontainer | Specifies the name of the cryptographic key container. |
| /keyfile | Specifies the file that contains the cryptographic key. |
| /libpath | Specifies the location of assemblies referenced by means of /reference. |
| /linkresource | Creates a link to a .NET Framework resource in the output file. |
| /main | Specifies the location of the main method. |
| /nologo | Suppresses compiler banner information. |
| /nowarn | Suppresses the compiler's ability to generate specified warnings. |
| /optimize | Enables or disables optimizations. |
| /out | Specifies output file. |
| /platform | Specifies the platform type of the common language runtime (CLR) that can run the assembly. |
| /recurse | Searches subdirectories for source files to compile. |
| /reference | Imports metadata from a file that contains an assembly. |
| /resource | Embeds a .NET Framework resource into the output file. |
| /securescoping | Makes package-scoped members internal to the assembly. |
| /target | Specifies the format of the output file using one of these options: /target:exe /target:library /target:module /target:winexe |
| /utf8output | Displays compiler output using UTF-8 encoding. |
| /warn | Sets warning level. |
| /warnaserror | Promotes warnings to errors. |
| /win32res | Inserts a Win32 resource in the output file. |
| /x | Disables language extensions. |