TFS 2015 :No agent could be found with the following capabilities: msbuild, Visual Studio ,vstest

标签 tfs msbuild agent

我们最近升级到 TFS 2015 Update 4。当我尝试构建时,出现以下错误:

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 link 中提到的解决方法,但还是想不通。

我已经在 Build Machine 中安装了 VS 2017 Enterprise。请注意,由于这是一个 POC,我已经在 TFS 服务器本身上安装了构建代理。
是否需要安装额外的东西?请帮忙。

TIA

最佳答案

您可以仔细检查是否缺少某些功能,例如构建代理的 VSTEST_15.0。
设置-座席队列-座席池-座席-功能
enter image description here
如果缺少测试相关功能,您可以尝试重新注册构建代理。或通过选择 + 手动添加功能。

关于TFS 2015 :No agent could be found with the following capabilities: msbuild, Visual Studio ,vstest,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43605989/

相关文章:

sql-server - TFS 2015 和 SQL Server 2016 兼容性

sql-server - 如何在没有作业运行时自动停止 SQL Server 代理?

java - YourKit:无法在绝对路径中找到代理库

tensorflow - tf-agent 的 `policy` 和 `collect_policy` 有什么区别?

asp.net - Team Foundation 服务器上的图像文件夹在构建时未复制到 azure

tfs - VSO : Single project with a tiered area structure?

c# - 如果只有最后一次构建通过 TFS 插件失败,则 TFS 成功构建警报电子邮件

.net - 在 Azure CI 构建期间找不到任何程序集

c# - msbuild 中的默认平台

.net - 如何在不生成 msbuild.exe 进程的情况下从 Powershell 运行 MSBuild?