AppDomainSetup.PrivateBinPathProbe Property

Definition

Gets or sets a string value that includes or excludes ApplicationBase from the search path for the application, and searches only PrivateBinPath.

C#
public string PrivateBinPathProbe { get; set; }

Property Value

A null reference (Nothing in Visual Basic) to include the application base path when searching for assemblies; any non-null string value to exclude the path. The default value is null.

Implements

Remarks

Set this property to any non-null string value, including String.Empty (""), to exclude the application directory path - that is, ApplicationBase - from the search path for the application, and to search for assemblies only in PrivateBinPath.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1