TFS 2015:No agent could be found with the following capabilities: msbuild, visualstudio, vstest

agentmsbuildtfs

We have recently upgraded to TFS 2015 Update 4. When I tried to do a build, I am getting the following error:

There are issues with the request or definition that may prevent the build from running:No agent could be found with the following capabilities: msbuild, visualstudio, vstest Queue the build anyway?

I tried the workaround mentioned in this link, but still couldn't figure out.

I have installed VS 2017 Enterprise in the Build Machine. Note, that since this is a POC I have installed Build Agent on the TFS Server itself.
Should anything extra be need to be installed? Please help.

TIA

Best Answer

You could double check if you are missing some capabilities such as VSTEST_15.0 for the build agent.

Settings- Agent Queues- Agent Pool - Agent- Capabilities

enter image description here

If the test related capabilities are missing, you could try to reregister the build agent. Or manually add the capabilitie by select +.

Related Topic