AttributeFile Property

MSBuild

Gets or sets the attribute assembly from whre to get all of the assembly-level attributes such as Culture, Version, etc. It will also be used to get the Win32 Resources from.


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property AttributeFile As ITaskItem
C#
public ITaskItem AttributeFile { get; set; }
C++
public property ITaskItem AttributeFile sealed  {
    ITaskItem get();
    void set(ITaskItem value);
}
J#
/** property */
public ITaskItem get_AttributeFile();

/** property */
public void set_AttributeFile(ITaskItem value);
JScript
public function get AttributeFile() : ITaskItem

public function set AttributeFile(value : ITaskItem);

Remarks

This property is mutually exclusive with CopyAttributes.

When not specified, then the Win32 Resources from the primary assembly are copied over into the target assembly.

Corresponds to command line option "/attr".

The default value is null.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.