Commit 2934514
authored
Add support for @(AssemblyMetadata) items that turn into assembly attributes
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 #31661 parent 095fe9b commit 2934514
File tree
1 file changed
+4
-0
lines changed- src/Tasks/Microsoft.NET.Build.Tasks/targets
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
0 commit comments