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
- Open the Visual Studio 2008 Command Prompt window.
- Change to the C:Program FilesMicrosoft Visual Studio 9.0Common7IDE directory. For example: cd "C:Program FilesMicrosoft Visual Studio 9.0Common7IDE"
- Run the TFSDeleteProject utility using the following command line. “TFSDeleteProject /server:YourServerName YourTeamProjectName”
- To confirm the deletion press Y and then press ENTER.
TFSDeleteProject utility then deletes the team project that you’ve selected
Thank You..
Worked Great
I was having a hard time deleting my project. Thank for the hint here.
When I run the command even as administrator from local computer I get “TF30063: You are not authorized to access server.” error 😦 any idea?
Rick, you need to have the appropriate access on the TFS server. Can you check whether you have rights to delete?
Thanks for the article. This helped me to delete the project successfully. Appreciate your time to put this together.