TF10169, How to remove a team project

1. When we are trying to delete Team Project from Team Explorer, it throw this error message:
---------------------------
Microsoft Visual Studio
---------------------------
TF10169: Unsupported pending change attempted on team project folder $/registerrpf.  Use the Project Creation Wizard in Team Explorer to create a project or the Team Project deletion tool to delete one.
---------------------------
OK  
---------------------------


2. Then try to using tool: tfsdeleteproject

3. The process like this:

d:\Program Files\Microsoft Visual Studio 9.0\VC>tfsdeleteproject
Team Foundation Delete Project Tool
Copyright (c) Microsoft Corporation.  All rights reserved.

Usage: TfsDeleteProject [/q] [/force] </server:<server name>> <team project name
>

Deletes the Team Project from Team Foundation.  To use this command, you must be
 a member of either the Team Foundation Server Administrators group or a member
of the Project Administrators group for the project you are deleting.  Use this
command with caution because after deleting the team project it cannot be recove
red.

   [/q] - Do not prompt for confirmation.
   </server:<server name>> - The name of the Team Foundation server.
   [/force] - Continue even if some data cannot be deleted.
   <team project name> - The name of the project.  Use quotes if there are space
s in the name.

d:\Program Files\Microsoft Visual Studio 9.0\VC>tfsdeleteproject /server:appcomp
at-tfs registerrpf
Warning: Deleting a team project is an irrecoverable operation. All version cont
rol, work item tracking and Team Foundation build data will be destroyed from th
e system. The only way to recover this data is by restoring a stored backup of t
he databases. Are you sure you want to delete the team project and all of its da
ta (Y/N)?y

Deleting from Build ...
Done
Deleting from Work Item Tracking ...
Done
Deleting from Version Control ...
Done
Deleting Report Server files ...
Done
Deleting SharePoint site ...
Done
Deleting from Team Foundation Core ...
Done

d:\Program Files\Microsoft Visual Studio 9.0\VC>tfsdeleteproject

原文地址:https://www.cnblogs.com/holly/p/1574475.html