A colleague mentioned to me he was the following warning on our build server:
Agent 'AgentName' is using a deprecated version '1.105.7'. You will not be able to use this version of agent with the next major version of Team Foundation Server. Migrate to the latest 2.x version of agent. For more information, see https://go.microsoft.com/fwlink/?linkid=851067.
I was suprised to see this as I recently updated all agents. Still I’m stuck with version 1 agents…
It turns out that there are 2 types of agents:
- Windows specific agents having number 1.x
- cross platform agents having number 2.x
The thing is that the Update All Agents button will only upgrade to a more recent minor version but will not do an upgrade to a new major version.
If you want to upgrade to a new major version of the agent, you’ll have to uninstall the old agent and install the new one yourself.