Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ReSharper Essentials

You're reading from   ReSharper Essentials Make your Microsoft Visual Studio work smarter with ReSharper.

Arrow left icon
Product type Paperback
Published in Feb 2014
Publisher Packt
ISBN-13 9781849698702
Length 124 pages
Edition Edition
Arrow right icon
Author (1):
Arrow left icon
Lukasz Gasior Lukasz Gasior
Author Profile Icon Lukasz Gasior
Lukasz Gasior
Arrow right icon
View More author details
Toc

Running code analysis


The second tool, Inspectcode can be used to run the ReSharper code analysis.

To use Inspectcode, just run the following command:

InspectCode [options] [project file]

As with the [project file] parameter, specify the path to your solution file.

You can check the list of all the available options with the following command:

Inspectcode /help

Like with dupfinder, Inspectcode saves a report to the Temp folder by default, and you can change this location with the /output option.

The report is generated as an XML file and contains the following two parts:

  • A list of all types of issues found during analysis with their severity and the link to the Wikipedia page (if available) that contains more information on the issue

  • A list of all the issues grouped by projects with a specified file and the line in which the issue occurs

Inspectcode will use code analysis settings from a .DotSettings file, if it finds one in your project. With additional options, you can specify which project...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image