TFS source code management, tfs source code

Source: Internet
Author: User

TFS source code management, tfs source code

I. Server Configuration

 

1. Create a Visual Studio Online account


Open VS, select Team Resource Manager (under the View menu), and register Team Foundation Service in Team resource manager to open the VS logon page. If you have an account, log on directly, if you have not registered one, you can.

 

 

2. Go to the Account creation page after logon.

Enter the information. The Account URL is very important. Remember (your TFS server address) and click Create Account to go to the Project Creation page.

Enter the project name. You can select the default one for other items. Then, click Create project to go to the Project Management page.

 

3. Add a team developer account for the project created in TFS, and click the Manage button in the red circle on the previous project management page. The account management page is displayed.

 

 

 

If multiple developers need to add multiple accounts

 

Ii. Client Configuration

 

1,Select Team → connect to Team Foundation Server

 

2. Select a server. If the server has not been connected, select the server button to add the server and enter the information.

 

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

After the connection is successful, select the source code Resource Manager to open the source code Resource Manager.

 

3. Map the server project directory to the local directory

In the open source code Resource Manager, select the unmapped link on the right to map the local directory. The directory must be mapped to the project root directory.

 

 

4. Switch to Solution Explorer and select a project. Right-click => [Source Code Manager] => [add to source code manager]

 

3. VS connects to Tfs as the source code manager. You must enter the user name and password for each login.

 

For Windows 7, you can add a "Windows credential" under "Control Panel"> "User Account and home security"> "creden manager.

 

Iv. Solution for TFS to report errors not caused by source code management after reinstalling the system

 
1. When reinstalling the system, ensure that the machine name and source code are stored in the same path as the original one.

2. If the source code storage path is the same as the original one, you only need to modify the computer field in the tbl_Workspace table of the TfsVersionControl database of the TFS database and change the original machine name to the current machine name.

3. remap to download the latest source code.

 


TFS source code management settings

This problem occurs because you do not have the project team administrator permission. Only the Project Administrator has the source code management permission to set the check-out policy of the source code.
 
How can I disable the check-out function of multiple users in TFS source code management?

By default, TFS can be checked out by multiple people. When vss is used to it, it suddenly becomes unaccustomed. After a long time, it is finally found.
Operation: Right-click a project and choose "Team Project Settings"> "Source code management". In the "check out Settings" dialog box, a check box is selected by default (multiple check-out is enabled ), let's remove the first check box.
For ease of operation, we select the check box for checking out updates.

According to my answer on csdn:
Bbs.csdn.net/..570775

Related Article

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.