ProvideBindingPathAttribute Class

Definition

This attribute registers a path that should be probed for candidate assemblies at assembly load time.

For example: [...\VisualStudio$(Ver)\BindingPaths{5C48C732-5C7F-40f0-87A7-05C4F15BC8C3}] "$PackageFolder$"=""

This would register the "PackageFolder" (i.e. the location of the pkgdef file) as a directory to be probed for assemblies to load.

public ref class ProvideBindingPathAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideBindingPathAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
type ProvideBindingPathAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideBindingPathAttribute
Inherits RegistrationAttribute
Inheritance
ProvideBindingPathAttribute
Attributes

Constructors

ProvideBindingPathAttribute()

Properties

SubPath

An optional SubPath to set after $PackageFolder$. This should be used if the assemblies to be probed reside in a different directory than the pkgdef file.

TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Register the component path (or optionally a sub-path of the component path) as an additional path that VS's assembly manager will probe when attempting to resolve assemblies.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister the component path as a binding path

Applies to