如何将Visual Studio 2017添加到Team Foundation Server Build Agent?

vis*_*arg 7 tfs tfs-2015 visual-studio-2017

我在我的服务器上安装了Visual Studio 2017来构建项目.服务器正在运行团队基础服务器2015 Update 3.TFS 2015在Visual Studio版本中显示最新选项,但是当我构建项目时,它不构建,并且代理没有Visualstudio,vstest,msbuild等功能.我正在尝试手动添加功能,但它不起作用,并说Visual Studio没有找到.

Pat*_*SFT 3

如果您的构建代理未与 TFS 服务器(安装了 VS2017)安装在同一台计算机上。尝试在生成代理上安装 Visual Studio,然后使用 TFS 重新注册生成代理。

If your build agent and TFS server, VS2017 are on the same machine, but 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?


归档时间:

查看次数:

7024 次

最近记录:

8 年,6 月 前