TFS 2017 - Build Server does not build Visual Studio 2017

好久不见. 提交于 2019-12-06 04:04:43

This may due to the VS is installed after the build agent configured. Then reregister the build agent with TFS, since the system capabilities are only discovered when the agent is first configured -- any changes made after that are not captured.

More ways please refer this similar question: No agent could be found with the following capabilities: msbuild, visualstudio, vstest?

Or install the latest version of the agent for now, which appears to be capable of detecting VS2017.

Also remember to select VS2017 in Visual Studio Version picklist of Visual Studio Build task.

I have resolved this issue by upgrading my TFS from TFS 2017 SP1 to TFS 2017 SP2.

Thanks to @Patrick-MSFT and @Martin Ullrich for your help.

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