Configure Visual Studio to Connect to Azure DevOps

This unit explains how to configure Visual Studio to connect to the Team Foundation Version Control Services in Azure DevOps.​

To connect to an Azure DevOps project from Visual Studio, follow these steps:​

  1. Select Manage Connections in the Team Explorer window or under the Team header on the menu bar. This option might appear simply as a green plug icon.​
  2. All the existing project connections from your local machine will be available to select in the window that appears. Right-click and select Connect to make the connection.​
  3. In the window that opens in the Team Explorer window, select Manage Connections.​
  4. Select Connect to Team Project. This will open a new dialog box.​
  5. In the dialog box, select Servers.​
  6. This opens a new dialog box, where you will enter the Azure DevOps URL. If the URL looks like clientname.visualstudio.com, and it usually does, the remaining fields will be automatically populated.​
  7. After you confirm these settings, a new dialog box will prompt you to sign in to Azure DevOps.​
  8. When you have signed in, select the box for the desired Azure DevOps project on the Team Projects pane.​
  9. Select Connect.​
  10. Select Advanced Configuration to open a dialog box for adjusting the parameters of your workspace mapping.​
  11. Select Advanced in this dialog box for more options.​
  12. Change the workspace from a Private workspace to a Public workspace.​
  13. In the Working folders table, remove all existing mappings.​
  14. On a new row of the table, map the Projects folder of the desired branch of your Azure DevOps project to your local user’s Projects folder for Visual Studio.​
  15. On another row in the table, map the Metadata folder of the same branch of your Azure DevOps project to the Packages Local Directory folder of the AOS Service drive.​
  16. Select OK.​
  17. Select Close to exit all open dialog boxes.​