Skip to content

Unclear which syntax to use to list warnings #27661

@anslmorvan

Description

@anslmorvan

On this page, we have a few examples: <WarningsAsErrors>0219,0168</WarningsAsErrors>, <WarningsNotAsErrors>0219,0168</WarningsNotAsErrors> and <DisabledWarnings>number1, number2</DisabledWarnings>.

They are only showing numbers, while some of the warnings displayed may be NU..., CS..., or even MSB....

How are we supposed to list these warnings?
Is the syntax <WarningsNotAsErrors>NU1603</WarningsNotAsErrors> supposed to work?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions