Twitter LinkedIn Github

JetBrains

 

[Note: This blog post applies to the nightly builds for ReSharper 5 version 1616 and lower]

If you’re getting the “Cannot Launch Debugger” message when trying to debug Unit Tests with the ReSharper runner, you’ll be happy to know it’s fixed. However, if you can’t wait until the next build, you can workaround by taking the following steps:

1. Locate the following files located in %Program Files%\JetBrains\ReSharper\v5.0\Bin\

  • JetBrains.ReSharper.TaskRunner.CLR4.exe.config
  • JetBrains.ReSharper.TaskRunner.CLR4.MSIL.exe.config
  • JetBrains.ReSharper.TaskRunner.CLR4.x64.exe.config

2. Find the entry in each file:

<startup>
  <requiredRuntime version="v4.0.21006" />
</startup>

and change them to:

<startup>
  <requiredRuntime version="v4.0" />
</startup>