in

Dé specialist in .NET trainingen en consultancy

Thomas Huijer - Compiler says no....

MSTest: Cannot start more than one local run

When I run my tests in Visual Studio and one or more tests fail, I hit the Debug Selected Test so see what is going on. But at times, I get this error message:

image

I don’t know what trigger this, but I had to restart Visual Studio to be able to Run or Debug tests again. After some searching on the net, I found out that there’s some sort of communication error between Visual Studio and the executable that actually runs the tests. So my resolution now is to kill that process and try again. The name of the executable to look for is VSTestHost.exe. Kill the process and you’re good to go…

image

Comments

No Comments

About Thomas

Thomas is a senior consultant and trainer. He's interested in anything related to improving software quality like clean code, testability, process optimalization, architectures and developer tools. Thomas can be reached at thomas@oosterkamp.nl.