Let's expand and develop the vsts-create your own vsts template-delete the vsts Team Project in Section 4

Source: Internet
Author: User
Because vsts has few materials and many internal settings and descriptions cannot be officially recognized by Microsoft, a lot of experiments will be carried out in future introductions to verify some of my ideas and understandings. There will be a lot of test team projects, in order to reduce the pressure on the server, we have to create a few test projects to delete a few. Some friends may not be able to find a place to delete team projects. The IDE environment of teamexplor in vs2005 only provides the remove function.

Here we will add a section about hard deletion of team projects. This command will be frequently used in the future.
Probably because of security concerns, Microsoft did not provide the function of physically deleting the entire team project in the IDE environment of teamexplor in vs2005.
But it does not mean that it cannot be deleted. A command tool is actually provided, that is, the tfsdeleteproject command under the c: \ Program Files \ Microsoft Visual Studio 8 \ common7 \ ide directory.

Enter the doscommand. Start-run-cmd
Go to the C: \ Program Files \ Microsoft Visual Studio 8 \ common7 \ ide directory.
There is a tfsdeleteprojec.exe execution file under this directory.

This command has several parameters
1./Q is an optional parameter. If/Q is written, such as tfsdeleteprojec.exe/Q..., you will not ask any questions during the subsequent deletion process. If you do not write/Q, you will be asked step by step. In fact, there are not many questions. Do not write/Q for the sake of insurance.
2./force is an optional parameter. It means to force the operation, that is, to delete any part that cannot be deleted.
3./Server: <tfsservername> is a required parameter. Enter the name of your vsts server.
4. projectname is a required parameter. Enter the name of the project you want to delete.

For example, my server is a CSIT-VSTSSERVER and a testteam project has been created as follows:

Now I want to delete it.
Enter tfsdeleteproject.exe/Server: As shown in the CSIT-VSTSSERVER testteam:

Press enter. Start running. If you operate on your own machine. This operation is not performed on the TFS server by logging on to the TFS administrator. The Login Dialog Box appears. For example:

Enter the Global \ TFs administrator of the team Foundation server or the Project Administrator of the Team Project to be deleted. Log on to the server.
You will be asked if you want to delete the Team Project. It seems that Microsoft is afraid of accidental deletion by users. As shown in

Enter y. The deletion is performed step by step. The deletion is complete. The process is shown in:

The command entered in the example in Microsoft msdn is incorrect. For example:

Missing/Server: Parameter
C: \ Program Files \ Microsoft Visual Studio 8 \ common7 \ ide \ tfsdeleteproject/Server: adverturework1 storefront.

It may be that Microsoft did not add the/Server: Command for the test version written by VC in the test and development phase :. Later, I found that if this flag is saved, it is difficult to determine whether the server name or project name is used. Therefore,/server was added during the official release :. This is purely a personal guess.

Have you mastered hard deletion of team projects? In the future, we will conduct a lot of Project Creation experiments, so we don't have to worry about too many junk projects.

In the next section, we will continue to introduce the details of the vsts extension.

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.