Compartir a través de


<developmentMode> Element

Specifies whether the runtime searches for assemblies in directories specified by the DEVPATH environment variable.

<configuration>
   <runtime>
      <developmentMode>

<developmentMode developerInstallation="true | false"/>

Required Attributes

Attribute Description
developerInstallation Specifies whether the runtime searches for assemblies in directories specified by the DEVPATH environment variable. Use one of the following values:
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.

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>

Configuration File

This element can be used in the machine configuration file (machine.config).

See Also

Runtime Settings Schema | Configuration File Schema | Enabling the Runtime to Search for Assemblies in Other Locations.