22
votes

Our project already has a StyleCop configuration. I am using ReSharper and I would like to be able to have R# use the StyleCop settings.

I know that you can use StyleCopForResharper to build the settings in Resharper and export them as a StyleCop configuration, but can you do the reverse and have Resharper consume the existing StyleCop config?

2
I would love to know if this is possible too. I use Resharper and StyleCop together, and find it terribly annoying that many of R#'s naming convention and refactors directly go against StyleCopWill Eddins

2 Answers

8
votes

I am not sure is this post still actual. There is free StyleCop for ReSharper at CodePlex.

It uses StyleCop assembly so it will use project file settings.

2
votes

I don't know of any way to do this, but it is possible for R# to layout your members/properties/methods etc. to comply with StyleCop. Check out my blog post at http://stevedunns.blogspot.com/2009/03/halt-this-is-stylecop-you-are-in.html.

HTH.

Steve