Archive for June, 2012

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


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


  • 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



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


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


  • Click map
  • Click Yes to download the contents of your source control to your workspace

Create a Team Project in TFS Preview

Microsoft made it very simple to accomplish this task…I mean creating a team project Smile


  • Browse to the your TFS server URL. If you didn’t create one yet, follow this post
  • You should see the following screen


  • Click on Create a team project
  • Enter project name, description and select the project template


  • Click the Create Project button. It should take about 3 minutes to complete creating the project
  • Click on Navigate to project


  • Now you are at the project portal
Categories: TFS Tags:

Create your TFS Preview Account

At the time of writing this post, creating a TFS Preview account was free. Simply follow these steps and you should be up and running in less than 5 minutes


  • Click on get started for free


  • Enter your Server URL. I wasn’t able to change the identity Provider field. But you will be prompted to enter the Windows Live ID
  • Click Create Account
  • Enter your Live ID info or create a new account if you don’t already have one


  • After around 30 seconds, the server should be created


  • That’s it. You now have a TFS server on the cloud Winking smile
Categories: TFS Tags: