The System.Runtime.Compilation.CompilerParameters class is a static class that represents the parameters used by the .NET Framework compiler.
It provides a way to control various aspects of the compilation process, such as the target platform, debugging information, and precompiled assemblies.
| Parameter | Description | Default |
|---|---|---|
TargetPlatform |
Specifies the target platform for compilation. | None |
GenerateDebugInformation |
Specifies whether debugging information should be generated. | False |
GenerateMapFile |
Specifies whether a map file should be generated. | False |
PrecompiledAssemblyPath |
Specifies the path to a precompiled assembly. | None |
IncludeSubDirectories |
Specifies whether subdirectories should be searched for assemblies. | False |
For more information, see the Compiler Options page.