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="report.htm" -f="Html" MyApp.sln -s="INFO"

Inspect a single project.

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

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