Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrate VS2017 Azure DevOps pipeline to VS2019

We have a VS solution that currently uses the Hosted VS2017 agent on Azure DevOps. We now want to upgrade our solution to VS2019. However, I can't see any way to amend / update the Azure DevOps pipeline to use the windows-2019 agent. It only seems to be available when creating a new Azure DevOps pipeline.

Is there a way to amend / update our current Azure DevOps VS2017 pipeline to the 2019 hosted agent without having to re-create our pipeline from scratch?

UPDATE

As can be seen from the screenshots below VS2019 doesn't appear in the dropdown list of available agent pools.

enter image description here

like image 839
DomBurf Avatar asked Oct 28 '19 12:10

DomBurf


1 Answers

windows-2019 agent is not listed in Agent pool field. As agents are managed in agent pools, you can choose agent pool Azure Pipelines.

And then you will need to choose an agent in the agent specification field. You will find agent windows-2019 there.

enter image description here

like image 191
Levi Lu-MSFT Avatar answered Sep 29 '22 04:09

Levi Lu-MSFT