How to turn off stylecop rules in the resharper plugin

Written by kevin bramer
  • Share
  • Tweet
  • Share
  • Email

The "StyleCop for ReSharper" plugin allows Microsoft StyleCop to run as you type code, which helps you enforce a set of the best practices for readabilty, documentation and readability of C# source code. It also has an easily accessed feature that allows you to disable any rule settings that you need for whichever coding project you're working on by following a few clicks.

Skill level:
Moderately Easy

Other People Are Reading


  1. 1

    Open the directory for your local disk drive; this is usually the "C:" drive. Open the "Program Files" folder.

  2. 2

    Click on "Microsoft StyleCop" Open the "Docs" folder. Select the "Settings.StyleCop" file and copy it into your development tree.

  3. 3

    Double click on the copied "Settings.StyleCop" file to bring up the StyleCop Project editor. Click on the "Rules" tab to see a listing of enabled rules. Click on the box next to the rules you would like to disable to remove the check mark. Click on "Apply" once you have removed ticks from all rules you would like to disable to enact the changes.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.