This project is read-only.

Stylecop settings file

Sep 17, 2012 at 9:17 PM

I was wondering if someone could explain which StyleCop settings file R# uses to pull the rules from?  I like to keep our settings file in the solution so that all projects can use one file.  Being new to Resharper, I'm not sure where it looks to get the list of rules.  is it in the install path?  Does it continue to use it?  Or just copy them into it's own Options.

Sep 17, 2012 at 10:11 PM
Edited Sep 18, 2012 at 6:35 PM
The settings file are processed as if you'd called stylecop on the single code pane you are editing. It looks for settings alongside the cs file, keeps checking parent folders until it finds one, then loads it and follows the settings in that thus loading a linked file (if specified)


Sep 18, 2012 at 4:58 PM

Thanks, man!