Visual Studio Team Services

VSTS structure

Visual Studio Team Services Account (eg. peterdekeyser.visualstudio.com)

Create in Visual Studio

Go to the Team Explorer
Underneath 'Visual Studio Online', click on 'Sign Up'.
Enter the Account URL and click on the button Create Account.

Create via the website

Go to
https://app.vssps.visualstudio.com
Login if necessary.
Click on 'Create a free account now'.

Overview of Visual Studio Team Services Accounts connected to your Microsoft account

Go to
https://app.vssps.visualstudio.com
On the right you see your accounts.
If you open an account, you will get an overview of the recent Team projects (projects and teams).
To see all the projects, click on 'Browse' underneath 'Recent projects and teams'.
You will get an overview of all the project in the DefaultCollection.
A project can contain multiple repositories.

Connect in Visual Studio

In the menu Team, select 'Connect to Team Foundation Server…'.
In the Team Explorer, you will now see 'Select Team Projects'.
In the 'Connect to Team Foundation Server' form, choose the Team Foundation Server you want to connect to.
If it is not available, click on 'Servers', click on 'Add' and enter the Visual Studio Online Account.
If you want to open a Team Project, select it in the list. If not, deselect everything.
Click on OK.

Delete a Team project

Go the the projects page of your account (https://{account}.visualstudio.com/_projects).
Click on the settings icon (to the right of Projects - My favorites - …)
Click on the ellipsis (three dots) behind the project name when hovering over it. Click Delete.
The name of the team project will be asked as a confirmation, so just enter the name of the project. The project will be deleted.

Add a user to a team project

Go to the dashboard and click on '+' in the Team members snippet.

Start a project with VSTS

Goal

We want to have a local GIT repository, to which we normally Commit.
Later we want to push the tested changes to a remote Visual Studio Team Services repository.

Create a VSTS git repository of a VS solution

1. Create a local repository

git init

2. Add a repository in VSTS

3. Add the VSTS repository as a remote to the local repository

git remote add origin https://{account}.visualstudio.com/DefaultCollection/_git/{name repository}

4. Push the local commits to the origin

git push -u origin --all
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License