You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With .NET SDK 8.0.101, a project using <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> correctly reports IDE0036 (for example), while .NET SDK 8.0.200 no longer reports the error.
It's similar, except that my repro fails even if there's no mix between severity settings from dotnet_diagnostic.IDExxxx.severity and option_name = option_value:severity, as suggested by dotnet/roslyn#52991 (comment), contrary to the other issue's repro project.
@mavasani This is caused by GetEffectiveCustomTags only being applied in DiagnosticHelper.Create, when diagnostics like IDE0073 or IDE0036 use Diagnostic.Create directly.
Describe the bug
With .NET SDK 8.0.101, a project using
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
correctly reports IDE0036 (for example), while .NET SDK 8.0.200 no longer reports the error.With MSBuild 17.8.3:
With MSBuild 17.9.4:
To Reproduce
Github repo: https://github.com/metoule/msbuild-17.9.4-editorconfig
Exceptions (if any)
Further technical details
dotnet --info
dotnet build
The text was updated successfully, but these errors were encountered: