How to run ReSharper with logging

You need to launch Visual Studio with the following parameters:

 

/ReSharper.LogFile C:\log\resharper_log.txt /ReSharper.LogLevel {Level}

 

 

There are a couple of "LogLevel" levels available:

- Verbose

- Trace 

In most of the cases "Verbose" level is enough, so please use it as a default level besides cases when one explicitly asked you to collect logs with the "Trace" level. 

 

Hint:

e.g.

to run Visual Studio 2019 via a cmd.exe:

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe" /ReSharper.LogFile C:\log\resharper_log.txt /ReSharper.LogLevel Verbose

to run Visual Studio 2015 via a cmd.exe:

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" /ReSharper.LogFile C:\log\resharper_log.txt /ReSharper.LogLevel Verbose
11 out of 14 found this helpful
2 comments

Would you mind updating the example for a more recent version of VS, to save having to work it out each time?

0

Please sign in to leave a comment.

Have more questions?

Submit a request