VS installation folder not found

Since installing VS 2026, the small icon next to a unit test declaration that used to let me run the test is now crossed out. The message ‘Not runnable: Visual Studio installation folder is not set’ appears when I hover over it.

Otherwise Resharper is working in VS2026.

The solution uses .NET Framework 4.7.

Thanks.

David.

0
3 comments

Hello David,

 

Thanks for contacting JetBrains support. 

It looks like you have encountered a known issue: RSRP-501706 [OOP] Unit Testing: Exploration of MsTestMetadataExplorer failed. Visual Studio installation folder is not set. Please check if you're using Out-of-Process mode. If yes, please try to switch to in-process mode. 

Please share a screenshot if this is not the case. 

 

Thanks,

Tom

0

Sorry for the delay in replying.

I was in Out Of Process mode. I changed to In Process, no change. I cleared the ReSharper caches, rebuilt the solution, restarted VS, no change in the icon.

If I click on the icon and choose Why can't I run tests I get this:

Thanks.

0

Hello David,

Thanks for the additional details. This looks different than the original issue. 

Please ensure that all test-related packages are upgraded to the latest version. If the issue persists, please help provide the following information:

  • What test framework and version are used in the project? Please share the .csproj file and the package version-related files if existing (e.g. packages.config). This can help us reproduce the issue on our side.
  • Collect the full bundle of logs:
  1. Follow SUPPORT-A-370 How to collect ReSharper log file with a specific Trace scenario to enable Verbose Logging and Unit Testing tracing
  2. Open (Extensions |) ReSharper | Options | Tools | Unit Testing | Test Runner;
  3. Change Logging level to Trace;
  4. Reproduce the issue
  5. Zip all the files from the log folder ( %temp%\JetLogs by default)
  6. Revert all the log configuration made above.

You can upload the files to the Upload Service and share the Upload ID. Let me know if you have any questions. 

 

Thanks,

Tom

0

Please sign in to leave a comment.