CopyAttributes Property

MSBuild

Gets or sets the flag to indicate whether to copy the assembly level attributes of each input assembly over into the target assembly.


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

Syntax

Visual Basic (Declaration)
Public Property CopyAttributes As Boolean
C#
public bool CopyAttributes { get; set; }
C++
public property bool CopyAttributes sealed  {
    bool get();
    void set(bool value);
}
J#
/** property */
public bool get_CopyAttributes();

/** property */
public void set_CopyAttributes(bool value);
JScript
public function get CopyAttributes() : bool

public function set CopyAttributes(value : bool);

Remarks

Any duplicate attribute overwrites a previously copied attribute. The input assemblies are processed in the order they are specified.

This parameter is mutually exclusive with AttributeFile.

Corresponds to command line option "/copyattrs".

The default value is false.

See Also

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