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?
If you don't want to install VS on the build server you could add a new build agent and install VS there.