<probing> Element
Specifies application base subdirectories for the common language runtime to search when loading assemblies.
<configuration>
<runtime>
<assemblyBinding>
<probing>
<probing privatePath="paths"/>
Required Attribute
Attribute | Description |
---|---|
privatePath | Specifies subdirectories of the application's base directory that might contain assemblies. Delimit each subdirectory with a semicolon. |
Example
The following example shows how to specify application base subdirectories the runtime should search for assemblies.
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin2\subbin;bin3"/>
</assemblyBinding>
</runtime>
</configuration>
Configuration File
This element can be used in the application configuration file.
See Also
Runtime Settings Schema | Configuration File Schema | Specifying an Assembly's Location | How the Runtime Locates Assemblies