If I understand correctly, there are two kinds of code analysis available for C# Visual Studio projects:
- The old legacy analyzers (not available for .NET Core and .NET Standard)
- Roslyn Code Analyzers
The old legacy analyzers used .ruleset files to configure warnings, errors and suppresions. Visual Studio came with a nice visual interface to edit those ruleset files:
The .ruleset file format seems to be deprecated in Roslyn in favour of .editorconfig. Unfortunately, this means the nice visual editor is not available anymore.
Is there any way to get a similar visual interface for .editorconfig files?
CodePudding user response:
The C# compiler can use both .ruleset
and .editorconfig
.
And Visual Studio 2022 has an editor for .editorconfig