Freigeben über


AssemblyReference Class

Describes a manifest assembly reference.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public NotInheritable Class AssemblyReference _
    Inherits BaseReference
[ComVisibleAttribute(false)]
public sealed class AssemblyReference : BaseReference
[ComVisibleAttribute(false)]
public ref class AssemblyReference sealed : public BaseReference
[<Sealed>]
[<ComVisibleAttribute(false)>]
type AssemblyReference =  
    class 
        inherit BaseReference 
    end
public final class AssemblyReference extends BaseReference

The AssemblyReference type exposes the following members.

Constructors

  Name Description
Public method AssemblyReference() Initializes a new instance of the AssemblyReference class.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public method AssemblyReference(String) Initializes a new instance of the AssemblyReference class.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Top

Properties

  Name Description
Public property AssemblyIdentity Specifies the identity of the assembly reference.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public property Group Gets or sets the group for on-demand download functionality.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property Hash Gets or sets the SHA1 hash of the file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property IsOptional Gets or sets whether the file is optional for on-demand download functionality.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property IsPrerequisite Specifies whether the assembly reference is a prerequisite or not.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public property ReferenceType Specifies the type of the assembly reference.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public property ResolvedPath Gets 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.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property Size Gets or sets the file size in bytes.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Protected property SortName Infrastructure. Gets a value that is used to sort the referenced assemblies in the application manifest. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property SourcePath Gets or sets the source path of the file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property TargetPath Gets or sets the target path of the file. This is the path that is used for specification in the generated manifest.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property XmlAssemblyIdentity Infrastructure. Gets or sets a property that is used to serialize the AssemblyIdentity property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public property XmlGroup Infrastructure. Gets or sets the group for on-demand download functionality.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property XmlHash Infrastructure. Gets or sets a property that is used to serialize the Hash property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property XmlHashAlgorithm Infrastructure. Gets or sets a property that is used to serialize the hash algorithm to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property XmlIsNative Infrastructure. Gets or sets a value indicating whether the reference is native.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public property XmlIsOptional Infrastructure. Gets or sets a property that is used to serialize the IsOptional property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property XmlIsPrerequisite Infrastructure. Gets or sets a property that is used to serialize the IsPrerequisite property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public property XmlPath Infrastructure. Gets or sets a property that is used to serialize the path to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)
Public property XmlSize Infrastructure. Gets or sets a property that is used to serialize the Size property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Inherited from BaseReference.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString Returns the full ClickOnce assembly reference.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. (Overrides BaseReference.ToString().)

Top

Thread Safety

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

See Also

Reference

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace