Every other Visual Studio “run test” attempt results in “Unable to start program QTAgent32.exe”

情到浓时终转凉″ 提交于 2019-12-10 14:19:08

问题


Whenever I run a test, and then try to run a test again, I get the following error:

Failed to queue test run.

Unable to start program 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\QTAgent32.exe'.

If I run the test again after that, it proceeds as normal. In other words, I get this error every other time I try to run a test. It doesn't matter whether the previous test succeeded or failed, whether it ran to completion or was interrupted, or whether I run one test or all of them across the whole solution.

What could be causing this? What can I try to fix it?


回答1:


Apparently this is a known issue at Microsoft, according this Page it happens on 64bit systems while testing with Visual Studio 2010. The page also describes a number of workarounds you can try.




回答2:


We were able to solve this problem by turning off IntelliTrace. Tools->Options->IntelliTrace, uncheck "Enable IntelliTrace".



来源:https://stackoverflow.com/questions/6307036/every-other-visual-studio-run-test-attempt-results-in-unable-to-start-program

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!