Connect to Visual Studio

After you create a Visual Studio Online account, create a team project to store your code. Then connect it to Visual Studio or another development environment. If you don't have a Visual Studio Online account, create it first.

Create your team project

On your account home page, name your project, choose your version control provider (Team Foundation Version Control or Git), and select a process template.

Create your first team project 

Connect your team project to Visual Studio

  1. If you haven't already, install Visual Studio 2013.

  2. Open Visual Studio from your account's home page. Don't see this view?

    Open Visual Studio to connect button on the overview page 
  3. Sign in to Visual Studio Online from Visual Studio. Why is my sign-in page different than when I signed in to Visual Studio?

  4. In Team Explorer, set up the mapping between your workspace and the source for version control.

    Configure Workspace link in Team Explorer home page 

    I don't see the Configure Workspace link. What do I do next?

  5. Confirm your workspace path, map your workspace, and get the source.

    Map and get button on Team Explorer home page
  6. Now you can check in source, queue builds, and manage work.

    Your team project is now connected to Visual Studio 

Q & A

Q:Why is my sign-in page different than when I signed in to Visual Studio?

A:You see a sign-in page based on the sign-in address that you use with Visual Studio Online. This will be for your Microsoft account or work account.

For example, you see this sign-in page when you use a work account with Visual Studio Online.
Connect to Visual Studio Online if you're a directory member 

Q:Why are some features not available with my account?

A:These features require a license.

Try these features for free. Or, get licenses that give you access to these features.

Q:Can I open Visual Studio from Visual Studio Online?

A:Yes. From your team project page (, open Visual Studio to connect to your team project.
Open in Visual Studio link in the overview page

Q:Why doesn't Visual Studio launch when I click "Open in Visual Studio" on my team project page?

A:This link requires Visual Studio 2013 or later. It doesn't launch earlier versions of Visual Studio.

Q:Can I use earlier versions of Visual Studio to connect to Visual Studio Online?

A:Yes. You can use Visual Studio 2012. You can also use Visual Studio 2010, but you'll need to install Service Pack 1 and KB2662296 first. Or, you can use Visual Studio 2008 SP1, with this GDR update. Launch Visual Studio, then connect to Visual Studio Online using your account URL and select your team project.

Q:I don't see the configure workspace link shown in the above steps. What do I do next?

A:You might have already created a workspace for this dev machine. You can view your workspace by opening Source Control Explorer or change it by clicking Manage Workspaces.

Team Explorer Home page with Source Control Explorer highlighted and Workspace menu open  

Q:Can I create additional team projects?

A:Yes. To support development projects that different teams work on which you want to keep separate, you can add a team project. Click New on the Overview page.

New link on your Visual Studio Account home page

Q:Can I delete a team project that I've created?

A:Yes. You can delete a team project that you no longer use.

Q:Can I edit the welcome portal for my team project?

A:Yes. The welcome portal is authored in a Markdown file. You can edit the Markdown file directly from your team project's welcome portal page. For details on writing Markdown, look at John Gruber's Markdown site.

Try this next