Repeatedly running tests within Visual Studio can get really annoying when you start to see this error:
Or you get a bunch of Inconclusive test results and tests aren't run. I hate that.
You have to manually go in to task manager and kill the process to be able to run your tests again.
Tim that I work with created a quick PowerShell script to quickly get things up and running again. Save the PowerShell script off somewhere then create a shortcut to it in your taskbar:
$ErrorActionPreference = "Continue"
get-Process VSTestHost | stop-process
get-process vsperfmon | stop-process
start-sleep -s 2
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5