TFS 2015: no agent can be found with the following features: msbuild, visualstudio, vstest

We recently upgraded to TFS 2015 Update 4. When I tried to build, I get the following error:

There are problems with the query or definition, which can prevent the assembly from starting: no agent can be found with the following features: msbuild, visualstudio, vstest Queue in the assembly?

I tried the workaround mentioned in this link but still could not understand.

I installed VS 2017 Enterprise on the build machine. Note that since this is a POC, I installed the Build agent on the TFS server itself. Should there be any additional settings? Please, help.

TIA

+4
source share
2 answers

You can double check if you have any features, such as VSTEST_15.0 for the build agent.

Settings - agent queues - agent pool - agent capabilities

enter image description here

If the testing capabilities are not available, you can try re-registering the build agent. Or manually add a capabilitie by selecting +.

+3
source

Recently, I had the same problem: installed VS2017, configured build agent, visualstudio and msbuild features.

Try installing VS2015 next to VS2017. Reconfigure the build agent after this (in my case, I completely deleted all the old _diag, _work and settings.json data). This fixed the problem for me, now missing features were discovered.

0
source

Source: https://habr.com/ru/post/1267133/


All Articles