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

前端 未结 12 1331
面向向阳花
面向向阳花 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 13:03

    General solution for TFS:

    The common way of resolving most of the issues on the build server is to install Visual Studio & all dependent packages on your build server.

    Alternative solution in case of using VSTS

    When you choose where to build, use "Hosted" and then the build will work.

    The guide how to make it work may be found here: Deploy an agent on Windows for TFS 2015

    Check the agent section which will contain information about capabilities.

    Updated:

    Once you have the list of capabilities in vsts(azuredevops) you might need to install the desired software on your build agent machine.

    PS Be aware, you might have to license your sw, if required.

提交回复
热议问题