未能排队测试运行:无法启动代理程序(Visual Studio 2010中)

未能排队测试运行:无法启动代理程序(Visual Studio 2010中)

问题描述:

虽然试图在我的解决方案运行所有的单元测试(Visual Studio 2010中)我得到一个无法排队试运行XXXX @计算机名2010-06-23 14点零一分36秒:无法启动代理程序' 错误。有谁知道是什么原因导致发生此特定错误,以及如何解决它,这样我可以运行我的单元测试?

While trying to run all the unit tests in my solution(Visual Studio 2010) I am getting a 'Failed to queue test run xxxx@MACHINENAME 2010-06-23 14:01:36': Unable to start the agent process' error. Does anyone know what causes this particular error to occur and how to resolve it so that I can run my unit tests?

感谢

我不知道这是否仍是Visual Studio 2010中的情况下,但你可以有同样的情况在Visual Studio 2008。当掰单元测试来看,它会留下一个进程在运行(检测错误的code时,在调试一个单元测试IE)。

I don't know if this is still the case for Visual Studio 2010, but you could have this same scenario in Visual Studio 2008. When breaking off a unit test run (i.e. when detecting erroneous code while debugging a unit test) it would leave a process running.

这是阻碍执行的Visual Studio 2008和拥有的过程中被杀死,以便能够单元测试再次VSPerfMon.exe。可能是麦芽汁来看看为VS2010。

The process that is hindering execution for Visual Studio 2008 and has to be killed to be able to unit test again is VSPerfMon.exe. Might be wort a look for VS2010.