ProvideBindingPathAttribute Class

 

Registers a path that should be probed for candidate assemblies at assembly load time.

You should use ProvideCodeBaseAttribute instead of ProvideBindingPathAttribute. Registering a specific assembly location instead of a directory to probe results in better performance.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.ProvideBindingPathAttribute

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, 
	Inherited = true)]
public sealed class ProvideBindingPathAttribute : RegistrationAttribute

NameDescription
System_CAPS_pubmethodProvideBindingPathAttribute()

Initializes a new instance of the ProvideBindingPathAttribute class.

NameDescription
System_CAPS_pubpropertySubPath

Gets or sets an optional SubPath to set after $PackageFolder$. You can use this property if the assemblies to be probed reside in a different directory than the pkgdef file.

System_CAPS_pubpropertyTypeId

Gets the current instance of this attribute.(Inherited from RegistrationAttribute.)

For example:

[...\VisualStudio\10.0\BindingPaths\{5C48C732-5C7F-40f0-87A7-05C4F15BC8C3}]

    "$PackageFolder$"=""

This registers the PackageFolder (that is, the location of the pkgdef file) as a directory to be probed for assemblies to load.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: