.net - 无法排队测试运行 : Unable to start the agent process(Visual Studio 2010)

标签 .net unit-testing visual-studio-2010 ide mstest

在尝试在我的解决方案(Visual Studio 2010)中运行所有单元测试时,我收到“无法排队测试运行 xxxx@MACHINENAME 2010-06-23 14:01:36”:无法启动代理进程”错误。有谁知道是什么导致了这个特定错误的发生以及如何解决它以便我可以运行我的单元测试?

谢谢

最佳答案

我不知道 Visual Studio 2010 是否仍然如此,但您可以在 Visual Studio 2008 中遇到相同的场景。当中断单元测试运行时(即在调试单元测试时检测到错误代码时)它会离开正在运行的进程。

阻碍 Visual Studio 2008 执行并且必须被终止才能再次进行单元测试的进程是 VSPerfMon.exe。可能需要看看 VS2010。

关于.net - 无法排队测试运行 : Unable to start the agent process(Visual Studio 2010),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3104428/

相关文章:

java - 模拟对象的 Autowiring 字段在 Mockito 中返回 null

unit-testing - 单元测试示例?

visual-studio-2010 - Visual Studio : can I copy a project's properties to use in another project?

c# - 如何确定是否使用 IWizard 添加项目项?

c# - 使用 MSTest 和 Fakes (Shim) 填充 .Net System.Windows.Forms.Screen 构造函数以进行单元测试

c# - "Symbols for the module MyLibrary.dll were not loaded"?

c# - Java 和 C# 之间的 DateTime 转换会引入错误吗?

c# - 按 DateTime 列(小时)从 DataTable 中选择行

visual-studio-2010 - 在Visual Studio中的ASP.net MVC 3中更改起始页

c# - 查找添加到 TableLayoutPanel 的控件的行索引