Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
<runtime> Element
 <probing> Element
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework General Reference
<probing> Element

Specifies application base subdirectories for the common language runtime to search when loading assemblies.

<configuration> Element
  <runtime> Element
    <assemblyBinding> Element for <runtime>
      <probing> Element
<probing privatePath="paths"/>

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

privatePath

Required attribute.

Specifies subdirectories of the application's base directory that might contain assemblies. Delimit each subdirectory with a semicolon.

Child Elements

None.

Parent Elements

Element

Description

assemblyBinding

Contains information about assembly version redirection and the locations of assemblies.

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.

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>
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker