msbuild
msbuild copied to clipboard
Improve Severities model
Context
- https://github.com/dotnet/msbuild/pull/9853#discussion_r1539496108
- https://github.com/dotnet/msbuild/pull/9853#discussion_r1539480094
Goals
- Severities aligned with Roslyn - https://learn.microsoft.com/en-us/visualstudio/code-quality/use-roslyn-analyzers?view=vs-2022#configure-severity-levels, we can omit
silent
. - The
isEnabled
configuration is passed to AnalyzerInitialize
call - and is basically an evaluation ofSeverity != BuildAnalyzerResultSeverity.None
- Logic properly reflected in the design doc