Connecting Visual Studio to VSTS

categories: [ VSTS / TFS ] tags: [ Visual Studio ] [ Visual Studio Team Services ] [ VSTS Series ]
created: 18 May 2015 @ 18:45 modified: 24 Apr 2017 @ 13:57

This post is part of an overall Series on Visual Studio Online.

Long Way

After you have a new Team Project in VSO you would eventually want to connect your Visual Studio to it. Open Visual Studio

image image

Open Team Explorer by click View and then Team Explorer

image

When Team Explorer pops up click on the Connect to Team Projects button

image

and then click on Select Team Projects

image

Click on Servers

image

Visual Studio conveniently loads a list of your servers connected to VSO for you if you signed in, if you don't see your newly created account in the list click Add

image

Enter the full url to your account as it was on your account page and click OK

image

You account will now exists in the servers list, click Close and then the Connect to Team Foundation Server window will auto load your Team Project Collection and it's Team Projects, tick the checkbox next to the Team Projects you want to be able to connect from in Visual Studio and click Connect

image

Your Team Project is now connected to Visual Studio and you can now setup your builds, clone code repositories, etc

image 

Slightly more steps than before.

Short Way

Of course if you wanted to open the project the easy way you could simple navigate to the Team Project and click on Open in Visual Studio 

image

this would then launch a new instance of Visual Studio and connects to your Team Project

image