Connect to existing Visual Studio Online Project

Published on Tuesday, March 4, 2014

If your friend or team member invites you to join his project which is on Visual Studio Online, you will connect his online project using Visual Studio 2013.

1: First we open Team Explorer view in Visual Studio 2013:

image

2: In Team Explorer view, click Connect icon on top, and click “Select Team Projects…”

image

3: In Connect information windows, click “Servers…”

image

4: In next Windows, click Add… button, to see another window named “Add Team Foundation Server”:

image

5: Input Visual Studio Online Server address which your friend told you, or you can get his Visual Studio Online invitation email:

image

6: Now you are asked to login using your Microsoft account, you should use the one which your friend sent you the email.to (or if you have another Microsoft account, you should tell your friend, and let him add your Microsoft account into Visual Studio Online project);

image

7: If the login was successfully, you would see the remote server address was added, now you click Close button

image

8: Now you can see project list, if you have been added into multiple Visual Studio Online, you could see multiple projects here.

Check on the projects which you want to connect, and click Connect button:

image

9: In Home page of Team Explorer view, click “Settings”

image

10: Click “Git Settings” in Settings Window:

image

11: Input Git information which you are going to use for commit or update code, also set a local repository workspace, and then click Update button:

image

12: Then go to Connect window, right click the project on remote server, and select Clone… menu:

image

13: Now you can see a preview clone folder information, you should confirm your local directory is what you wanted, the Workspaces folder was created in step 11, and then, you click Clone button:

image

14: Now you see the online project with Git control information was clone to your local repository, you just double click your local repository name

image

15: Then you can see the local solutions, double click the solution and access to the solution, you can work on the solution now (go to solution explorer to see code)

image