Share via


ProjectUsingTaskElement.AssemblyName Property

Gets and sets the value of the AssemblyName attribute.

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.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Property AssemblyName As String
public string AssemblyName { get; set; }
public:
property String^ AssemblyName {
    String^ get ();
    void set (String^ value);
}
member AssemblyName : string with get, set
function get AssemblyName () : String 
function set AssemblyName (value : String)

Property Value

Type: System.String
Returns the value of the AssemblyName attribute. Returns an empty string if the attribute is not present.

Remarks

The file path to the assembly, which may be either a full path or a relative path. Relative paths are relative to the directory of the project file containing this UsingTask. Either the AssemblyFile or AssemblyName attribute must be present, but not both.

.NET Framework Security

See Also

Reference

ProjectUsingTaskElement Class

Microsoft.Build.Construction Namespace