Skip to content

Instantly share code, notes, and snippets.

@kkoziarski
Last active August 12, 2016 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkoziarski/8570d8b91fc1c92eb8c231e05246009f to your computer and use it in GitHub Desktop.
Save kkoziarski/8570d8b91fc1c92eb8c231e05246009f to your computer and use it in GitHub Desktop.
StyleCop - ignore global rules in solutions. Place it in .sln location

To turn off StyleCop at solution level:

  • Create(or copy an existing) a setting file 'Settings.StyleCop' in the root directory containing the *.sln file.
  • Add the below xml and save
<StyleCopSettings Version="105">
  <GlobalSettings>
    <BooleanProperty Name="RulesEnabledByDefault">False</BooleanProperty>
  </GlobalSettings>
</StyleCopSettings>
<StyleCopSettings Version="105">
<GlobalSettings>
<BooleanProperty Name="RulesEnabledByDefault">False</BooleanProperty>
</GlobalSettings>
</StyleCopSettings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment