How to delete the project from Team Foundation Server?

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

In the last months I created many of projects in Team Foundation Server. Now I decided to reorganize all existing projects. That usually means that some of projects should be deleted.

I was disappointed as I was not able to find any “delete” option neither in the Team Explorer nor in the source control.

 

I thought, may be some linux-developer has joined the TFS team and got the task to implement this functionality (who knows). This means that such functionality could be provided as a part of some command line tool only.

So, I found the great tool tfsdeleteproject.exe at following location:

 

YourDrive:\Program Files\Microsoft Visual Studio 8\Common7\IDE

 

After looking on provided command line arguments I entered following line to delete the project:

 

tfsdeleteproject /server:MyTfsServer MyProjectName

 

This produces following result after few minutes:

 

Warning: Deleting a team project cannot be undone.  Are you sure you want to delete the team project (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


Posted Oct 12 2006, 02:33 AM by Damir Dobric
developers.de is a .Net Community Blog powered by daenet GmbH.