TFS (Team Foundation server) Experience

Source: Internet
Author: User
1. TFs not only provides Source code The management function also provides many functions such as task management and analysis services. However, these functions must be fully installed and cannot be customized. For example, only the source Code Management tools :(

2. sqlserver2005 must be installed and the database must be the default Instance name.

3. By default, the source code management mode supports multi-person check-out, but can be disabled in the source code management of the project.

4. When the source code is checked out, the latest version of the file is not automatically obtained. This is by design, and there is no place to configure it. However, if the file has an updated version, you can see the related prompt information in the output window.

5. Do not modify the time when the TFS server is installed! Because the source control of TFS will be determined based on the check-in time. If the subsequent check-in time is earlier than the time of the latest version of the change set, an error "tf54000" will be reported and the check-in is rejected. If this problem already exists, modify the table tbl_changeset in the tfsversioncontrol database,

Specific solution: update the creationdate field and change the creationdate that is later than the current time to a value smaller than or equal to the current time.

Update [tfs_platform]. [DBO]. [tbl_changeset] Set creationdate = getdate () Where creationdate> getdate ()

6. You cannot delete a team project created in TFs (not a project created by vs) in the IDE environment. You can only delete it using the command line tool. In fact, many functions can be completed only by using the command line tool provided by TFs.

7. The shelving set is a very good feature. We recommend that you use it all. For specific usage, refer to the relevant content in msdn.

8. For details about how to modify the configuration section in team build, see here. Note that the copy task of msbuild applies to shared folders (for example, \ server1 \ folder1 \) there is a problem with the processing of, there is no way to copy data from the shared folder to the specified path, so we recommend that you use exec task to execute xcopy command instead of copy task.

9. When using team build to compile solutions with both web sites and class libraries, You must select an appropriate compilation platform. For details, see my previous article.Article.

10. As with Issue 5 above, the modification time may also cause problems with the data warehouse that generates the report. If you change the time to the future, for example, one day next year, when you find an error and change it back, you will find that the "last repository Update time" in the report is next year. That is to say, the data warehouse will not be updated. To solve this problem, you also need to modify the TFS Database: Open the _ warehouseconfig table in the tfswarehouse database, and change the error time to the current or previous time.

In addition, the TFS address for msdn Chinese introduction is here. It should be the most comprehensive and complete Chinese information about TFs. Of course, if you need to find more and more detailed TFs information, pay more attention to the official English msdn and TFs forums. Also, I will occasionally post the TFS experience here to share with you.

--------

Add experience 10. Here we also need to note that TFs is definitely recommended for use, and TFs is also very useful. However, any new and complex system may have some problems, some of which are habits, some are bugs, and these are inevitable. It is our purpose to overcome the difficulties and make good use of them to serve us.

Version 08 is now available

For more information, see:

Visual Studio team system-General
Team Foundation server-installation
Team Foundation server-management
Team Foundation server- build automation
Team Foundation server-power tools and add-on
Team Foundation server-Process Template
Team Foundation server-report and data warehouse
Team Foundation server- team system Web Access
Team Foundation server-Version Control
Team Foundation server-work project tracking
(transferred from the Internet)

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.