in Development resources

How to disable globally applied StyleCop rules

If you have a set of StyleCop rules that you want to disable for a specific solution in Visual Studio, follow the steps:

1. Create a file with the name Settings.StyleCop in the solution root folder (same place where the .sln file is)

2. Insert the following xml snippet in the file:

<StyleCopSettings Version="105">
    <BooleanProperty Name="RulesEnabledByDefault">False</BooleanProperty>