Archived post: posted sometime between 2016 and 2022.

ReSharper Code Inspection from the Command Line

The unrelated photo is from our new garden bed.

This is a follow-up post from ReSharper Code Cleanup from the Command Line . The previous post has details on how to get started.

Inspect an entire solution.

inspectcode -o="resharper-report.htm" -f="Html" -s="INFO" App.sln

Inspect a single project.

inspectcode -o="resharper-report.htm" -f="Html" -s="INFO" Proj\Proj.csproj

Other formats ( f ) include XML and TXT, both of which would be useful alongside a git hook.