11

Add support for @(AssemblyMetadata) items that turn into assembly attributes by...

 3 years ago
source link: https://github.com/dotnet/sdk/pull/3440
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Contributor

kzu commented on Jul 20, 2019

edited

Given that AssemblyMetadataAttribute is such a common assembly-level attribute, this adds support
for specifying it directly via simple items, such as:

    <AssemblyMetadata Include="Foo" Value="Bar" />
    <AssemblyMetadata Include="Bar" Value="Baz" />

This also avoids having to learn the _Parameter1 and _Parameter2 syntax in AssemblyAttribute elements,
and is more similar to the way other higher-level properties like AssemblyTitle or Product are also
turned into assembly attributes.

Partially fixes #3166

The feature can be disabled by setting $(GenerateAssemblyMetadataAttributes) to false.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK