I have TFS On-Premises, and I have this errror when queueing a new build.
No agent could be found with the following capabilities: msbuild, visualstudio, vstest
I found this answer: No agent could be found with the following capabilities: msbuild, visualstudio, vstest?
But is there any way to fix it on-premises without installing Visual Studio on the build server?
Best Answer
I had this issue with Visual Studio 2017 installed on the build server (on-prem):
When I upgraded a Test Controller the Build Agent lost some of its capabilities, such as VSTest:
I added these capabilities back as User Capabilities:
Then I got the infamous error:
I searched the web high and low, I did so many things to try and resolve this issue, I finally found this saying its been fixed in TFS update 2.
I upgraded TFS from update 1 to 2 and that did fix the problem.