Feature request: editable `Comment` property on `ProjectElement` in `Microsoft.Build.Construction`
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 133
Description
Hello,
My team is looking into using the `Microsoft.Build` NuGet package (mostly the `Microsoft.Build.Construction` namespace) to potentially replace one of our internal libraries.
I see in https://github.com/dotnet/msbuild/blob/main/src/Build/Construction/ProjectRootElement.cs#L40 that "Comments and whitespace cannot be edited through this model at present." I suppose this is true for its `abstract` ancestor `ProjectElement`. It would be great if I can programmatically add comments to certain elements in project files.
1. Is your team actively working on supporting comments? If not, is there a timeline for this feature?
2. Is the feature open for community contributions?
Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.