The preferable way to use the analyzers is to add the nuget package StyleCop.Analyzers to the project where you want to enforce StyleCop rules. For documentation and reasoning on the rules themselves, ...