<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
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.