This help center has been deprecated and moved to a new address, please follow this link to open an active help center.

Thank you and sorry for inconvenience!

Can I run ReSharper Analysis without Visual Studio (e.g. using command line)?

Yes, ReSharper Command Line Tools are now available with ReSharper 8 and above.


To use it, simply download and unzip the Command Line Tools package, and then run InspectCode [SolutionFile].

More information about ReSharper Command Line Tools is available in the following blogpost:

Have more questions? Submit a request


  • Avatar
    Asp Anjan


    Can we use resharper to code refactor/code clea up from command line?



  • Avatar
    Alex Berezoutsky

    @Asp, not at the moment. Refactorings and Code Cleanup are based on VS integration features, so currently it is not possible.

  • Avatar
    Alex Khorchev

    Alex, +1 for code cleanup from command line.

    I and my teammates are working on legacy ASP.NET solution with 170 projects and more than 1*10^6 lines of code. We need to cleanup it before we start implementing new features in next release. I worked on R# + StyleCop code conventions and we need to cleanup the codebase containing .aspx, .js, .css, .cs files many of which are legacy (.cs may reach 5+ KLOC). When I try to run R# code cleanup on one single project (opened only it, not the whole solution) containing several hundreds of  .aspx, .js, .css, .cs, I see "Updating background files" in bottom right corner of Visual Studio, estimated time grows from 15 minutes to 2 hours 50 minutes, in approximately 30 minutes I get OutOfMemoryException. This happens on virtual machine with 4 cores of i5 CPU, 8 GB of RAM, SSD drive running under Windows 2008 R2, Visual Studio 2013 RC Ultimate and both R# 8.0.1 & R# 8.0.2. My questions:

    1. What is it doing when "Updating background files"? If it is not obligatory to do during cleanup, can I disable it? If yes, see p.2.

    2. How do I disable this updating? Code Analysis is already disabled in Options - Code Inspection - Settings.

    1. Is there any other way to perform cleanup, like without opening project so that updating does not start at all?

    Will appreciate all answers & ideas. Please give me options how to do this.

Powered by Zendesk