Home > 2012, TFS, Visual Studio > Connect Visual Studio 2012 to TFS Preview

Connect Visual Studio 2012 to TFS Preview


At the time of writing this blog post, Visual Studio 2012 wasn’t RTM and was in the RC release.

In this post, I will walk you through connecting Visual Studio 2012 to TFS preview. This is a fairly simple task and can be done in two ways.

Approach 1

 

  • Login to your TFS preview server account
  • browser a project you created, if you haven’t created a project yet, you can follow this post to create one

image

  • On the project portal, click on Open new instance of Visual Studio (this will only work on IE)
  • Click Allow to launch VS2012

image

  • Visual studio will ask you to enter your windows live credential. Enter the account info associated with your tfs preview
  • image
  • You are done Smile

Approach 2

  • Open Visual Studio 2012
  • On the Start screen, click connect to TFS
  • You maybe asked to enter a live account
  • On the Connect to Team Foundation Server dialog, click the servers button
  • Click the add button
  • image
  • Enter your TFS Preview server information. Remember to select https or type https part of the URL
  • Then click on the connect button

Map Workspace to folder

  • In Team Explorer, click on Source Control Explorer

image

 

  • Select the collection Node and then click on the Not Mapped link

image

  • I usually map source control to the root of one of my drivers to avoid hitting the 254 characters path limit

image

  • Click map
  • Click Yes to download the contents of your source control to your workspace
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: