Export (0) Print
Expand All

AssemblyReference Class

Describes a manifest assembly reference.

System.Object
  Microsoft.Build.Tasks.Deployment.ManifestUtilities.BaseReference
    Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

[ComVisibleAttribute(false)]
public sealed class AssemblyReference : BaseReference

The AssemblyReference type exposes the following members.

  NameDescription
Public methodAssemblyReference()Initializes a new instance of the AssemblyReference class.
Public methodAssemblyReference(String)Initializes a new instance of the AssemblyReference class.
Top

  NameDescription
Public propertyAssemblyIdentitySpecifies the identity of the assembly reference.
Public propertyGroupGets or sets the group for on-demand download functionality. (Inherited from BaseReference.)
Public propertyHashGets or sets the SHA1 hash of the file. (Inherited from BaseReference.)
Public propertyIsOptionalGets or sets whether the file is optional for on-demand download functionality. (Inherited from BaseReference.)
Public propertyIsPrerequisiteSpecifies whether the assembly reference is a prerequisite or not.
Public propertyReferenceTypeSpecifies the type of the assembly reference.
Public propertyResolvedPathGets or sets 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.)
Public propertySizeGets or sets the file size in bytes. (Inherited from BaseReference.)
Protected propertySortNameInfrastructure. Gets a value that is used to sort the referenced assemblies in the application manifest. (Inherited from BaseReference.)
Public propertySourcePathGets or sets the source path of the file. (Inherited from BaseReference.)
Public propertyTargetPathGets or sets the target path of the file. This is the path that is used for specification in the generated manifest. (Inherited from BaseReference.)
Public propertyXmlAssemblyIdentityInfrastructure. Gets or sets a property that is used to serialize the AssemblyIdentity property to an XML file.
Public propertyXmlGroupInfrastructure. Gets or sets the group for on-demand download functionality. (Inherited from BaseReference.)
Public propertyXmlHashInfrastructure. Gets or sets a property that is used to serialize the Hash property to an XML file. (Inherited from BaseReference.)
Public propertyXmlHashAlgorithmInfrastructure. Gets or sets a property that is used to serialize the hash algorithm to an XML file. (Inherited from BaseReference.)
Public propertyXmlIsNativeInfrastructure. Gets or sets a value indicating whether the reference is native.
Public propertyXmlIsOptionalInfrastructure. Gets or sets a property that is used to serialize the IsOptional property to an XML file. (Inherited from BaseReference.)
Public propertyXmlIsPrerequisiteInfrastructure. Gets or sets a property that is used to serialize the IsPrerequisite property to an XML file.
Public propertyXmlPathInfrastructure. Gets or sets a property that is used to serialize the path to an XML file. (Inherited from BaseReference.)
Public propertyXmlSizeInfrastructure. Gets or sets a property that is used to serialize the Size property to an XML file. (Inherited from BaseReference.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the full ClickOnce assembly reference. (Overrides BaseReference.ToString().)
Top

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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