How to collect ReSharper log file

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. 

Also the following article can be useful: How to collect ReSharper log file with a specific trace scenario?

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
3 comments

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

0

What if I forget to run Visual Studio with such command line arguments?  Are there still logs I can collect that are written out by default?

0

Please sign in to leave a comment.

Have more questions?

Submit a request