Our organisation uses a ruleset file containing our organisation's StyleCop.Analyzers settings. This lives in source control, and all projects in all solutions in our organisation reference this file. If I edit the ruleset (via project properties → Code Analysis tab), I see a message prompting me to migrate the ruleset to an EditorConfig file. Why would I want to do this, and what is the difference between the two?
I've also noticed in Visual Studio menu Tools → Options → Text Editor → C# → Code Style, there are a number of settings eerily similar to many of the StyleCop.Analyzers rules (e.g., several settings relating to the use of "this", vs. StyleCop SA1101 "prefix local calls with this").
There is also a button here to create an EditorConfig file from these settings, so how would these settings coexist with the StyleCop.Analyzer settings, and which would take precedence?
Also, our Azure DevOps automated builds report warnings where any code "violates" the StyleCop rules. Will the builds still do this if we replaced the ruleset with an EditorConfig file?
Lastly, there is a GUI for editing the StyleCop.Analyzer settings (project properties → Code Analysis tab → Configure button), whereas EditorConfig files seem to be edited using the Visual Studio text editor. Given that there are hundreds of rules to manage, where would you get a complete list of rules that needed to be typed in? And wouldn't this be very tedious?