本文介绍了TF900547:包含Visual Studio Test Runner程序集的目录无效,但看不到MSTest.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在TFS2013版本上遇到以下错误:

I'm getting the following error on a TFS2013 build:

TF900547: The directory containing the assemblies for the Visual Studio Test Runner is not valid ''.

此处,看来答案是将测试运行程序从VS测试运行程序更改为MSTest.但是,当我尝试在构建定义中编辑测试运行"时,测试运行器"选项设置为Visual Studio Test Runner并显示为灰色.是什么决定了此框中显示的内容,以及如何添加MSTest?

Looking here, it would seem that the answer to this is to change the test runner from VS test runner to MSTest. However, when I try to edit the Test Run in the build definition, the test runner option is set to Visual Studio Test Runner and greyed out. What determined what is shown in this box, and how can I add MSTest?

我已经安装了 VS2012代理在服务器上进行测试.

I have installed VS2012 agents for handling tests on the server.

推荐答案

我通过在构建代理上安装VS2013来解决此问题

I fixed this by installing VS2013 on the build agent

这篇关于TF900547:包含Visual Studio Test Runner程序集的目录无效,但看不到MSTest.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 07:20