Home > Software design >  How to get Visual Studio 2015 to work with Azure DevOps Git Repository
How to get Visual Studio 2015 to work with Azure DevOps Git Repository

Time:12-18

I have to use Visual Studio 2015 to support BizTalk 2016. We are looking to convert from TFS to a GIT repository hosted on Azure DevOps, and it maybe a year or more before we upgrade BizTalk.

I've tried a few things, but seem to be running in circles. In the Team Explorer of Visual Studio 2015, I see the option to connect to GitHub, but not sure that is compatible with Azure. The tool I have seems to connect with GitHub and not other Git repositories like Azure, BitBucket, GitLabs etc...

enter image description here

Is there a different generic or Azure specific module to install for VS 2015?

CodePudding user response:

Instead of connecting to GitHub, which is another provider of hosted Git Repositories, use the "Manage Connections" button to connect directly to Azure DevOps or TFS, that should list available git repositories on Azure DevOps and the ability to clone those.

Make sure you create the repository in Azure DevOps first.

You can also click the "clone" option in the "Local Git Repositories" section at the bottom of the panel and directly enter the clone url of the repository.

CodePudding user response:

This seems very strange to me. I'm not sure if you can connect from Visual Studio, BUT... you can open Visual Studio from Azure DevOps. Click "Clone" then choose the https (I didn't try SSH yet), then for the "IDE" select "Clone in Visual Studio"

enter image description here

After that, you can go do your Clone or other GIT functions, or to go "Manage Connections" which now looks like this:

enter image description here

NOTE However - that if you have multiple versions of Visual Studio installed, it might pick the latest version. It did not offer the "picker" to select which version of Visual Studio.

  • Related