FreeSMIME Support
FreeSMIME Support

Reputation: 91

How do I connect Visual Studio for Mac OS to Azure Dev Ops/VSTS?

I have a project in Azure Dev Ops that I need to connect to and I'm using Visual Studio for Mac.

Usually on the PC I can click Version Control or project and browse to it, and then sync. However, I don't see that.

In addition when I look at the project in the website, I don't see any URL that I can use to paste into the repository config.

VSTS config screen image

Upvotes: 9

Views: 24812

Answers (3)

Follow this steps to connect Azure Devops Git repo with Visual Studio for MAC:

  1. Open or Create a new projeto on Visual Studio and open it.

  2. Go to the Top Menu, Select Visual Studio -> Extensions

  3. Select Gallery and make sure the option All the repositories is set

  4. Under Version Control select Team Foundation Version Control for TFS and Azure DevOps

  5. On the right menu click Install

Once its installed you can find it on the top menu under Version Control -> TFS / Azure DevOps

Upvotes: -4

Marina Liu
Marina Liu

Reputation: 38096

To connect Azure Devops Git repo with Visual Studio for MAC, you can follow below steps:

In VS for Mac -> Version Control -> Checkout -> enter the Azure Devops Git repo URL and specify target directory -> checkout.

  • For Azure Devops Git repo URL, you can use either of following:

    • https://account.visualstudio.com/project/_git/repo
    • https://[email protected]/account/project/_git/repo
  • For connecting credential, you can use PAT for Alternate credential.

Besides, you can also refer the document Checkout an existing repository.

Upvotes: 8

orhtej2
orhtej2

Reputation: 2165

If you navigate to repository you're willing to interact with there's 'Clone' button that gives you all the necessary information to clone the repository.

VSTS - location of <code>Clone</code> button.

This brings up pop up that gives you the URL for repo. Sadly, no option to clone in Visual Studio for Mac (you have to fill the form you found yourself) :/

VSTS clone repository dialog.

Upvotes: 1

Related Questions