LinkedIn

Thursday, 9 October 2008

How do delete a TFS team project

open visual Studio 2008 command prompt from

START > Programs > VS 2008 > VS tools > VS Command Prompt

enter:

tfsDeleteProject /force /server:TLONDEV002 "MSDN Calc v2"

You will get the following info and it may take a few minutes:
E:\Program Files\Microsoft Visual Studio 9.0\VC>tfsDeleteProject /force /server:
TLONDEV002 "MSDN Calc v2"
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