Delete a project from Team Foundation Server

by Chris Leong

Deleting a project on Team Foundation Server is not that straight forward. Here’s how you can delete a team project

  1. Open the Visual Studio 2008 Command Prompt window.
  2. Change to the C:Program FilesMicrosoft Visual Studio 9.0Common7IDE directory. For example: cd "C:Program FilesMicrosoft Visual Studio 9.0Common7IDE"
  3. Run the TFSDeleteProject utility using the following command line. “TFSDeleteProject /server:YourServerName YourTeamProjectName”
  4. To confirm the deletion press Y and then press ENTER.

TFSDeleteProject utility then deletes the team project that you’ve selected