ProvideDependentAssemblyAttribute ProvideDependentAssemblyAttribute ProvideDependentAssemblyAttribute ProvideDependentAssemblyAttribute 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
ProvideDependentAssemblyAttributeProvideDependentAssemblyAttributeProvideDependentAssemblyAttributeProvideDependentAssemblyAttributeProvideDependentAssemblyAttribute
Derived

Constructors

ProvideDependentAssemblyAttribute() ProvideDependentAssemblyAttribute() ProvideDependentAssemblyAttribute() ProvideDependentAssemblyAttribute() ProvideDependentAssemblyAttribute()

Initializes a new instance of the ProvideDependentAssemblyAttribute class.

Fields

_guidUpdateNeeded _guidUpdateNeeded _guidUpdateNeeded _guidUpdateNeeded _guidUpdateNeeded

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

Properties

AssemblyName AssemblyName AssemblyName AssemblyName AssemblyName

Name of the target assembly.

CodeBase CodeBase CodeBase CodeBase CodeBase

A relative path from the $PackageFolder$, or an absolute path rooted from an environment variable substitution (format: %variable%).

Culture Culture Culture Culture Culture

A string that specifies the language and country/region of the assembly.

CurrentAssembly CurrentAssembly CurrentAssembly CurrentAssembly CurrentAssembly

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

Guid Guid Guid Guid Guid

Identifier of this attribute instance.

PublicKeyToken PublicKeyToken PublicKeyToken PublicKeyToken PublicKeyToken

A 16 character hex number which is the token part of the strong name of the assembly being redirected.

TypeId TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

FormatPublicKeyToken(Byte[]) FormatPublicKeyToken(Byte[]) FormatPublicKeyToken(Byte[]) FormatPublicKeyToken(Byte[]) FormatPublicKeyToken(Byte[])

Format binary Public Key Token into an hexadecimal string.

GetGuidHashString() GetGuidHashString() GetGuidHashString() GetGuidHashString() GetGuidHashString()

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

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

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

(Inherited from RegistrationAttribute)
GetPathToKey() GetPathToKey() GetPathToKey() GetPathToKey() GetPathToKey()

Get the path to the Key were the values for this attribute will be registered.

Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

SetValues(RegistrationAttribute+Key) SetValues(RegistrationAttribute+Key) SetValues(RegistrationAttribute+Key) SetValues(RegistrationAttribute+Key) SetValues(RegistrationAttribute+Key)

Set values handled by this attribute in the given Key.

TryParseVersion(String, Version) TryParseVersion(String, Version) TryParseVersion(String, Version) TryParseVersion(String, Version) TryParseVersion(String, Version)

Try to parse a string into a Version. Unlike Version.TryParse, this method ensures that the input consists of four numbers, as opposed to considering the build and revision numbers optional.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this attribute.

UpdateAssemblyInformation() UpdateAssemblyInformation() UpdateAssemblyInformation() UpdateAssemblyInformation() UpdateAssemblyInformation()

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

ValidateAttributeInformation() ValidateAttributeInformation() ValidateAttributeInformation() ValidateAttributeInformation() ValidateAttributeInformation()

Validate we have all the information that is needed.

Applies to