TFS Source Code Control

Source: Internet
Author: User

First, server configuration

1. Create a visual Studio online account


Open vs, select Team Explorer (under the View menu), and in Team Explorer, select Enroll Team Foundation Service, open the VS login page, and if you have an account, sign in directly, if not registered.

2, log in after the jump to create account page

Enter the information, where the account URL is important, be sure to remember (your TFS server address), then click the Create button to jump to the project creation page.

Enter the project name, others can choose Default, and then click Create Project to create a wizard automatically jump to the project management page

3. Add a team developer account for the project created in TFS, click the Manage button in the Red section of the previous project management page to pop up the account Management page

If more than one person develops, need to add multiple accounts

Second, the client configuration

1. Select teams → Connect to team Foundation Server

2, select the server, if not yet connected, select the Server button to add the server, enter information

If you have already connected, select the server directly and click "Connect"

After the link is successful, select Source Explorer to open the source code resource Manager

3. Map Server project directory to local directory

In the Open Source Explorer, select the unmapped link on the right, map the local directory, and the directory must be mapped to the project root directory.

4. Then switch to Solution Explorer and select the project. Right-click = "source code manager =" "Add to Source Control"

Third, VS connect TFS to do source code manager, each login need to enter the user name and password resolution

For Windows 7, you can add a "Windows credential" under "User accounts and Family Safety", "Control Panel", "Credential Manager".

Iv. workaround for TFS report not subject to source code control errors after reloading the system


1, re-install the system to ensure that the machine name, the source code storage path and the original consistency.

2, if the source code storage path and the original consistency, only need to modify the TfsVersionControl Library of the TFS Database Tbl_workspace table in the Computer field, the original machine name to the current machine name can be changed.

3. Re-map to download a copy of the latest source code.

TFS Source Code Control

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.