Partilhar via


AssemblyReference Class

Definition

Describes a manifest assembly reference.

public ref class AssemblyReference sealed : Microsoft::Build::Tasks::Deployment::ManifestUtilities::BaseReference
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class AssemblyReference : Microsoft.Build.Tasks.Deployment.ManifestUtilities.BaseReference
[<System.Runtime.InteropServices.ComVisible(false)>]
type AssemblyReference = class
    inherit BaseReference
Public NotInheritable Class AssemblyReference
Inherits BaseReference
Inheritance
AssemblyReference
Attributes

Constructors

AssemblyReference()

Initializes a new instance of the AssemblyReference class.

AssemblyReference(String)

Initializes a new instance of the AssemblyReference class.

Properties

AssemblyIdentity

Specifies the identity of the assembly reference.

Group

Specifies the group for on-demand download functionality. A blank string indicates a primary file.

(Inherited from BaseReference)
Hash

Specifies the SHA1 hash of the file.

(Inherited from BaseReference)
IsOptional

Specifies whether the file is optional for on-deman download functionality.

(Inherited from BaseReference)
IsPrerequisite

Specifies whether the assembly reference is a prerequisite.

ReferenceType

Specifies the type of the assembly reference.

ResolvedPath

Specifies the resolved path to the file. This path is determined by the Resolve method, and is used to compute the file information by the UpdateFileInfo method.

(Inherited from BaseReference)
Size

Specifies the file size in bytes.

(Inherited from BaseReference)
SortName

Gets a value that is used to sort the referenced assemblies in the application manifest.

(Inherited from BaseReference)
SourcePath

Specifies the source path of the file.

(Inherited from BaseReference)
TargetPath

Specifies the target path of the file. This is the path that is used for specification in the generated manifest.

(Inherited from BaseReference)
XmlAssemblyIdentity

Gets or sets a property that is used to serialize the AssemblyIdentity property to an XML file.

XmlGroup

Gets or sets the group for on-demand download functionality.

(Inherited from BaseReference)
XmlHash

Gets or sets a property that is used to serialize the Hash property to an XML file.

(Inherited from BaseReference)
XmlHashAlgorithm

Gets or sets a property that is used to serialize the hash algorithm to an XML file.

(Inherited from BaseReference)
XmlIsNative

Gets or sets a value indicating whether the reference is native.

XmlIsOptional

Gets or sets a property that is used to serialize the IsOptional property to an XML file.

(Inherited from BaseReference)
XmlIsPrerequisite

Gets or sets a property that is used to serialize the IsPrerequisite property to an XML file.

XmlPath

Gets or sets a property that is used to serialize the path to an XML file.

(Inherited from BaseReference)
XmlSize

Gets or sets a property that is used to serialize the Size property to an XML file.

(Inherited from BaseReference)

Methods

ToString()

Returns the full ClickOnce assembly reference.

Applies to