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?
All methods of collecting log files are described here: How to collect ReSharper log file?
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
Please sign in to leave a comment.
Would you mind updating the example for a more recent version of VS, to save having to work it out each time?
Will Dean, updated! Thanks!
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?
Bchart they can be found in %Temp%\JetLogs in this case.