How do I set up Stylecop 4.5RC with Resharper?

May 9, 2011 at 1:57 PM

I see where Stylecop for reshaper for been discontinued and replaced with the newest version of Stylecop 4.5RC.

So I uninstalled my older version of Stylecop and my Stylecop for resharper plugin.

But I am not sure how I can set up the new version 4.5RC to work with Resharper v5.0.1 so I have instant feedback in the IDE. Could someone help me out with this as I found the stylecop for reshaper plugin extremely helpful.

May 13, 2011 at 10:50 AM
Edited May 13, 2011 at 10:51 AM

After the msi has finished installing VS and StyleCop should all be setup correctly for you. Maybe the plugin needs switching on. From VS go to ReSharper -> Plugins and ensure the StyleCop plugin is checked (and you'll need R# 5.1)

May 15, 2011 at 7:57 AM

The installer has an excellent job of installing both of them: SC and SfRS. Additionally, it can upgrade from previous version as well smoothly. (Thanks for this! :)) So, there's no additional step needed. Just click the installer, and voila, you got both of them installed perfectly.

I'm using VS2010 SP1 BTW, I don't try it with VS2008.