dotnet / dotnet/msbuild

Convenience APIs to add item with metadata as attributes

Open
#1,393 2 comments 3 reactions 0 assignees View on GitHub
Feature - Project File Cleanup triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Currently, `ProjectItemGroupElement.AddItem(string itemType, string include, IEnumerable> metadata);` adds the metadata as children to the item and there is no way to add metadata as attributes.

e.g. -
```xml

9.0.1

```

As opposed to -
```xml

```

//cc: @rainersigwald @rrelyea

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.