in

Dé specialist in .NET trainingen en consultancy

Thomas Huijer

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 senior trainer en consultant. Zijn interesses zijn vooral procesoptimalisatie, architecturen en developer tools. Je kunt Thomas bereiken via thomas@oosterkamp.nl