TFS 2015:找不到具有以下功能的代理:msbuild,visualstudio,vstest [英] TFS 2015:No agent could be found with the following capabilities: msbuild, visualstudio, vstest

查看:310
本文介绍了TFS 2015:找不到具有以下功能的代理:msbuild,visualstudio,vstest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近已升级到TFS 2015 Update4.当我尝试进行构建时,出现以下错误:

We have recently upgraded to TFS 2015 Update 4. When I tried to do a build, I am getting the following error:

请求或定义存在问题,可能会阻止构建运行:找不到具有以下功能的代理:msbuild,visualstudio,vstest是否始终对构建进行排队?

There are issues with the request or definition that may prevent the build from running:No agent could be found with the following capabilities: msbuild, visualstudio, vstest Queue the build anyway?

我尝试了 this中提到的解决方法链接,但仍然找不到.

I tried the workaround mentioned in this link, but still couldn't figure out.

我已在Build Machine中安装了VS 2017 Enterprise.请注意,由于这是一个POC,因此我已在TFS服务器本身上安装了Build Agent. 是否需要额外安装任何东西?请帮忙.

I have installed VS 2017 Enterprise in the Build Machine. Note, that since this is a POC I have installed Build Agent on the TFS Server itself. Should anything extra be need to be installed? Please help.

TIA

推荐答案

您可以仔细检查是否缺少构建代理的某些功能,例如 VSTEST_15.0 .

You could double check if you are missing some capabilities such as VSTEST_15.0 for the build agent.

设置-代理队列-代理池-代理-功能

如果缺少与测试相关的功能,则可以尝试重新注册构建代理.或通过选择+手动添加功能.

If the test related capabilities are missing, you could try to reregister the build agent. Or manually add the capabilitie by select +.

这篇关于TFS 2015:找不到具有以下功能的代理:msbuild,visualstudio,vstest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆