Anasayfa RSS Email

How to delete a Team Project from a TFS 2010 Team Project Collection

You can not delete a Team Project from Source Control Explorer. When you try to delete it from Source Control Explorer in Visual Studio, it says to use team project deletion tool.

You can remove a team project from Team Foundation Server when the project is no longer required by using TFSDeleteProject.exe.

Open Visual Studio 2010 Command prompt and type;

"http://chan08:8080/tfs/defaultcollection" is my tfs 2010 team project collection url.
"demo2" is the team project will be deleted.
"/q" is for brave administrators. :)

tfsdeleteproject /q /collection:http://chan08:8080/tfs/defaultcollection demo2

Deleting from Build ...
Done
Deleting from Version Control ...
Done
Deleting from Work Item Tracking ...
Done
Deleting from TestManagement ...
Done
Deleting from LabManagement ...
  Not found
Deleting Report Server files ...
Done
Detaching SharePoint site ...
Done
Deleting SharePoint site ...
Done
Deleting from Team Foundation Core ...
Done

 



@ Sunday, April 25, 2010 11:40 AM | [ tfs english vs2010 ]

Comments

Gravatar

# re: How to delete a Team Project from a TFS 2010 Team Project Collection

Posted by Bob
on 7/14/2010 5:28 PM
'tfsdelete' is not recognized as an internal or external command,

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 5 and 6 and type the answer here:
Web Statistics