Skip to content

Allow MSBuildWarningsAsMessages with comma separation#11522

Merged
JaynieBai merged 5 commits intodotnet:mainfrom
JaynieBai:dev/jenny/issue7094
Mar 5, 2025
Merged

Allow MSBuildWarningsAsMessages with comma separation#11522
JaynieBai merged 5 commits intodotnet:mainfrom
JaynieBai:dev/jenny/issue7094

Conversation

@JaynieBai
Copy link
Copy Markdown
Member

@JaynieBai JaynieBai commented Feb 28, 2025

Fixes #7094

Context

We don't support NAT011,NAT012, when warnings with comma separation, the Warings are not suppressed.

Changes Made

Parse warning codes with comma separation and semicolon

Testing

MSBuildWarningsAsMessagesWithCommaSeparation()

Notes

@JaynieBai JaynieBai changed the title Add test for allowing NoWarn with comma separation Allow MSBuildWarningsAsMessages with comma separation Feb 28, 2025
@JaynieBai JaynieBai marked this pull request as ready for review February 28, 2025 10:56
@JaynieBai JaynieBai merged commit d0cb70a into dotnet:main Mar 5, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MSBuildWarningsAsMessages should allow comma separation

3 participants