Visual Studio 2015 RC Test Run freezes

A strange problem was discovered in VS 2015 - the start of one unit test freezes if the previous test run was interrupted by Stop Debugging.

Steps:

  • Set a breakpoint in the first line of some test method.
  • Run this test in the debugger, wait for the breakpoint to hit.
  • Press Shift+F5 or Debugging / Stop Debugging .
  • Run this single test again - it freezes when you run somewhere in te.processhost.managed.exe native code.

Restarting VS or just starting all the tests by pressing Run All helps, but only until the next Shift+F5 .

I was able to play it both locally and on pure Azure VS 2015 RC VM, so it looks like, and not just some specific machine glitch.

Switching Test / Test Settings / Default Processor Architecture to the default X86 in X64 works for me as it includes the old vstest execution vstest .

This problem is on the MS Connect website .

Are there other known workarounds?

+6
source share

Source: https://habr.com/ru/post/987195/


All Articles