To use this set of StyleCop coding style rules automatically in all projects of a solution, create a Directory.Build.props
file next to your .sln
solution file with the following content:
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ItemGroup>
<PackageReference Include="Wemogy.StyleCop" Version="0.2.1" />
</ItemGroup>
</Project>