ProvideDependentAssemblyAttribute Class

Definition

Parent class for attributes that generate dependentAssembly entries.

public ref class ProvideDependentAssemblyAttribute abstract : Microsoft::VisualStudio::Shell::RegistrationAttribute
[Windows::Foundation::Metadata::WebHostHidden]
public ref class ProvideDependentAssemblyAttribute abstract : Microsoft::VisualStudio::Shell::RegistrationAttribute
public abstract class ProvideDependentAssemblyAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideDependentAssemblyAttribute = class
    inherit RegistrationAttribute
Public MustInherit Class ProvideDependentAssemblyAttribute
Inherits RegistrationAttribute
Inheritance
ProvideDependentAssemblyAttribute
Derived

Constructors

ProvideDependentAssemblyAttribute()

Initializes a new instance of the ProvideDependentAssemblyAttribute class.

Fields

_guidUpdateNeeded

Indicates whether a GUID update is required. If true, a GUID update is required. If false (default), no update is required.

Properties

AssemblyName

Gets or sets the name of the target assembly.

CodeBase

Gets or sets a relative path from $PackageFolder$, or an absolute path rooted from an environment variable substitution (of format %variable%).

Culture

Gets or sets a string that specifies the language and country/region of the assembly.

CurrentAssembly

Gets or sets the assembly to which the generated dependentAssembly registry entry refers.

Guid

Gets the identifier of this attribute instance.

PublicKeyToken

Gets or sets a 16-character hexadecimal number which is the token part of the strong name of the assembly being redirected.

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)

Methods

FormatPublicKeyToken(Byte[])

Formats a binary public key token into a hexadecimal string.

GetGuidHashString()

Gets the string that will be hashed into the identifier of the attribute.

GetPackageRegKeyPath(Guid)

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

(Inherited from RegistrationAttribute)
GetPathToKey()

Gets the path to the key were the values for this attribute will be registered.

Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

SetValues(RegistrationAttribute+Key)

Set values handled by this attribute in the given key.

TryParseVersion(String, Version)

Tries to parse a string into a version.

Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this attribute.

UpdateAssemblyInformation()

Updates all information not provided from the assembly to which this attribute is applied.

ValidateAttributeInformation()

Validates that all the required information has been supplied.

Applies to