<developmentMode> Element
Specifies whether the runtime searches for assemblies in directories specified by the DEVPATH environment variable.
<configuration>
<runtime>
<developmentMode>
Syntax
<developmentMode developerInstallation="true | false"/>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
developerInstallation | Specifies whether the runtime searches for assemblies in directories specified by the DEVPATH environment variable. |
developerInstallation Attribute
Value | Description |
---|---|
true | Searches for assemblies in directories specified by the DEVPATH environment variable. |
false | Does not search for assemblies in directories specified by the DEVPATH environment variable. This is the default |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
configuration |
The root element in every configuration file used by the common language runtime and .NET Framework applications. |
runtime |
Contains information about assembly binding and garbage collection. |
Remarks
Use this setting only at development time. The runtime does not check the versions on strong-named assemblies found in the DEVPATH. It simply uses the first assembly it finds.
Example
The following example shows how to cause the runtime to search for assemblies in directories specified by the DEVPATH environment variable.
<configuration>
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>
</configuration>
See also
Sadarbojieties ar mums vietnē GitHub
Šī satura avotu var atrast vietnē GitHub, kur varat arī izveidot un pārskatīt problēmas un atgādāšanas pieprasījumus. Lai iegūtu papildinformāciju, skatiet mūsu līdzstrādnieku rokasgrāmatu.