Aracılığıyla paylaş


<developmentMode> Element

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

<configuration> Element
  <runtime> Element
    <developmentMode> Element

<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

Tasks

How to: Locate Assemblies by Using DEVPATH

Reference

Runtime Settings Schema

Other Resources

Configuration File Schema for the .NET Framework