Error 'No agent could be found with the following capabilities: msbuild, visualstudio, vstest'

前端 未结 12 1330
面向向阳花
面向向阳花 2020-12-05 12:41

I\'m setting up a new build server using TFS 2015 and after I configured the agent, when I tried to queue a build I got this error:

No agent could be

12条回答
  •  死守一世寂寞
    2020-12-05 12:58

    You have to install the correspondent Visual Studio version on the build machine (where you have installed your agent). This will add the required tools and capabilities to the server.

    Visual Studio is required, because it installs all the build targets required to build your projects.

    After being installed, you have to restart the agent Windows service so that it refreshes the list of capabilities.

    Since you are using the Visual Studio installation on the build machine to build, that installation doesn't count as an additional license.

提交回复
热议问题