Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Container for compiler configuration elements; contains zero or more <compiler> elements.
<configuration>
<system.codedom>
<compilers>
<compilers>
<compiler ... />
</compilers>
The following sections describe attributes, child elements, and parent elements.
None.
Element | Description |
---|---|
<compiler> Element | Specifies the compiler configuration attributes for a language provider. |
Element | Description |
---|---|
<configuration> Element | The root element in every configuration file used by the common language runtime and .NET Framework applications. |
<system.codedom> Element | Specifies compiler configuration settings for available language providers. |
The <compilers> element contains the compiler configuration settings for language providers on a computer. Each <compiler> element specifies the compiler configuration attributes for a specific language provider.
The .NET Framework defines the initial compiler and language provider settings in the machine configuration file (Machine.config). Developers and compiler vendors can add configuration settings for a new System.CodeDom.Compiler.CodeDomProvider implementation. Use the CodeDomProvider.GetAllCompilerInfo method to programmatically enumerate language provider and compiler configuration settings on a computer.
This element can be used in the machine configuration file and the application configuration file.
The following example illustrates a typical compiler configuration element.
<configuration>
<system.codedom>
<compilers>
<!-- zero or more compiler elements -->
<compiler
language="c#;cs;csharp"
extension=".cs"
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
compilerOptions=""
warningLevel="1" />
</compilers>
</system.codedom>
</configuration>
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now