Stylecop settings file

Sep 17, 2012 at 8: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.

Coordinator
Sep 17, 2012 at 9:11 PM
Edited Sep 18, 2012 at 5: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)


~A.


Sep 18, 2012 at 3:58 PM

Thanks, man!