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

Jean Jimenez picture Jean Jimenez · Aug 5, 2015 · Viewed 57.9k times · Source

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 found with the following capabilities: msbuild, visualstudio, vstest

How can this be resolved?

Answer

Daniel Mann picture Daniel Mann · Aug 5, 2015

Install Visual Studio on your build agent, then restart the build agent. Restarting the build agent will capture the added Capabilities.