ProjectMetadataElement.ExpressedAsAttribute Property

Definition

Gets or sets whether this piece of metadata is expressed as an attribute.

C#
public bool ExpressedAsAttribute { get; set; }

Property Value

Remarks

If true, then the metadata will be expressed as an attribute instead of a child element, for example <Reference Include="Libary.dll" HintPath="..\lib\Library.dll" Private="True" />

Applies to

Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17