Deleting.Team.Projects

If you have unwanted team projects on Team Foundation Server and would like to remove them, you will discover that there isn't an option in Visual Studio for you to do it. Well, here's actually how you can do it:

1. Open up command prompt.

2. Navigate to the <Visual Studio 2005 Installation Folder>\Common7\IDE\PrivateAssemblies folder. Remember it is the Visual Studio 2005 installation folder and not the Team Foundation Server's folder.

i.e. C:\Program Files\Microsoft Visual Studio 2005\Common7\IDE\PrivateAssemblies

3. Locate an executable named TFSDeleteProject.exe

4. Issue the command TFSDeleteProject /TeamFoundationServer:<Server Name> <Project Name>

i.e. TFSDeleteProject /TeamFoundationServer:MyServer01 MyTestProject

You should take note that deleted team projects are not recoverable. Therefore, you better be sure about it before executing the command. This command only works for Beta 3 of Team Foundation Server. The older version uses DeleteTeamProject.exe.

No comments:

Post a Comment

Popular Post