O'Reilly logo

Instant StyleCop Code Analysis How-to by Franck LEVEQUE

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding the Resharper add-in (Simple)

In this recipe, we will discover the StyleCop add-in for Resharper. We will see its real-time analysis and how to easily fix most of the StyleCop violations.

Getting ready

For this recipe, you will need to have:

  • StyleCop 4.7 installed.
  • Resharper 7.1 installed. Evaluation version available at http://devnet.jetbrains.com/docs/DOC-280.
  • Visual Studio Professional (2008, 2010, or 2012).
  • A sample C# project to modify.

How to do it...

Note

Before starting to see the benefit of Resharper with StyleCop, I have to say that the installation is not an easy one. First, each version of StyleCop seems to be tightly built on a specific version of Resharper. At the time of writing, StyleCop Version 4.7 is compatible with Resharper ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required