Getting Started with TFS Tutorial-new team Project __ version control tools

Source: Internet
Author: User


Here you need to enter the server name for TFS. For example, my Windows 7 machine: Jlzb2rel. Add the server to the list by adding a button, and then click Close:

Here, you can select the server from the combo box, then select Defaultcollection, then click Connect:

The Team Explorer tab now has server connections and defaultcollection, but we don't have a TFS project that can store things:

I created a new Windows Forms project for this tutorial as a sample of our solution (file, new project, Windows Form). If you try to add a new code project to source control, there will be an error. For example:

After you select the Add Solution to source Control menu item, you will receive an error message for "No available team Project source control folder":


This error is not intuitive (especially if the word item provided is used in TFS and your code solutions, and they are different concepts). This error means that you must create a real TFS project to include resources that are useful in your work. In Team Explorer, right-click your collection and select New team project:

Here I will create a TFS project for the Accounts payable system. The project will contain all the necessary solutions, data, etc. for the entire system. Fill out the information and click Next:

The default is the agile template, but you can also select the CMMI template. For more information on the template type you can get more detailed instructions on MSDN. If you are using an agile approach (such as TDD), this is a good choice. After selecting, click Finish.

There will be various status updates during the project creation process.

After successful, click the Close button:

Team Explorer shows the project, which will contain work items, build, and source control:

The project collection can be updated at this time. Add a solution to TFS: Right-click the project in Solution Explorer and select Add Solution to Source control:

You can create a new folder for your solution in TFS or just use the default values. If you are ready, please click OK.

You can see in Solution Explorer that all files are already under source control. (View the "+" number in front of the file)

You can see the actions listed in the source code manager that you can take to expose the solution. Add a comment and click Check in:

Click Yes to confirm check-in.

At this point the new solution is in TFS, and the work item can be started.

Turn from: http://www.cnblogs.com/ewyb/archive/2010/09/27/1836458.html

Here you need to enter the server name for TFS. For example, my Windows 7 machine: Jlzb2rel. Add the server to the list by adding a button, and then click Close:

Here, you can select the server from the combo box, then select Defaultcollection, then click Connect:

The Team Explorer tab now has server connections and defaultcollection, but we don't have a TFS project that can store things:

I created a new Windows Forms project for this tutorial as a sample of our solution (file, new project, Windows Form). If you try to add a new code project to source control, there will be an error. For example:

After you select the Add Solution to source Control menu item, you will receive an error message for "No available team Project source control folder":


This error is not intuitive (especially if the word item provided is used in TFS and your code solutions, and they are different concepts). This error means that you must create a real TFS project to include resources that are useful in your work. In Team Explorer, right-click your collection and select New team project:

Here I will create a TFS project for the Accounts payable system. The project will contain all the necessary solutions, data, etc. for the entire system. Fill out the information and click Next:

The default is the agile template, but you can also select the CMMI template. For more information on the template type you can get more detailed instructions on MSDN. If you are using an agile approach (such as TDD), this is a good choice. After selecting, click Finish.

There will be various status updates during the project creation process.

After successful, click the Close button:

Team Explorer shows the project, which will contain work items, build, and source control:

The project collection can be updated at this time. Add a solution to TFS: Right-click the project in Solution Explorer and select Add Solution to Source control:

You can create a new folder for your solution in TFS or just use the default values. If you are ready, please click OK.

You can see in Solution Explorer that all files are already under source control. (View the "+" number in front of the file)

You can see the actions listed in the source code manager that you can take to expose the solution. Add a comment and click Check in:

Click Yes to confirm check-in.

At this point the new solution is in TFS, and the work item can be started.

Turn from: http://www.cnblogs.com/ewyb/archive/2010/09/27/1836458.html

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.