← all posts

Connecting Visual Studio to VSTS

Gordon Beeming
Gordon Beeming
On this page2 sections ▾

#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

Visual Studio Start Page
Visual Studio Start Page

Open Team Explorer by click View and then Team Explorer

Visual Studio View Menu with Team Explorer highlighted
Opening Team Explorer from the View menu in Visual Studio.

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

Team Explorer window with Connect to Team Projects button highlighted
Team Explorer window showing the Connect to Team Projects button.

and then click on Select Team Projects

Team Explorer Connect page with Select Team Projects button highlighted
Team Explorer Connect page with the Select Team Projects button.

Click on Servers

Connect to Team Foundation Server dialog with Servers button highlighted
Connect to Team Foundation Server dialog: Servers button.

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

Add Team Foundation Server dialog with Add button highlighted
Add Team Foundation Server dialog: Add button.

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

Add Team Foundation Server dialog with URL input field and OK button
Adding a new Team Foundation Server by providing the URL.

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

Connect to Team Foundation Server dialog with team projects listed and Connect button highlighted
Selecting team projects and connecting to Team Foundation Server.

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

Team Explorer window showing successful connection to a team project
Team Explorer showing the connected team project.
 

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 

VSTS project page with Open in Visual Studio button highlighted
Opening a VSTS project directly in Visual Studio.

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

Visual Studio Team Explorer connected to the VSTS project
Visual Studio successfully connected to the VSTS project via the short way.
Gordon Beeming
Gordon Beeming

Father • Husband • Triathlete • SSW Solution Architect

Related posts