Chapter 9. Code Analysis Beyond Visual Studio

ReSharper v8 comes with brand new, free command-line tools to run code analysis outside Visual Studio.

The tools come as a compressed package. To download them, go to the Download ReSharper page at http://www.jetbrains.com/resharper/download/ and click on ReSharper Command Line Tools in the Related Downloads section. When you unpack this package, you will find many .dll files in there that come from ReSharper and also the following two important .exe files:

  • dupfinder.exe: This finds code duplicates
  • inspectcode.exe: This runs code analysis

In this chapter, we will quickly describe these applications.

Finding code duplicates

The first tool, dupfinder, can be used to find duplicates in your C# and VB.NET code. ...

Get ReSharper Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.