Blog Post

No agent found with following capabilities: msbuild

Tuesday, October 25, 2016 2:19 PM

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

In order to get msbuild on the server we will need to install

Microsoft Build Tools 2015

https://www.microsoft.com/en-us/download/details.aspx?id=48159

Microsoft .NET Framework 4.5.1 Developer Pack

https://www.microsoft.com/en-us/download/details.aspx?id=40772

After successful installation we need to update the agent registration.

This is due to the fact that the agents determines the capabilities and pass the data to VSTS

I have decided that I have to remove the agent and add it again using following command

 

PS C:\agent> .\config.cmd remove --unattended --url https://my.visualstudio.com --auth PAT --token thdfzpartmissinghwn7awmnq

and now I need to register the agent again