Home Notes Web development Deleting a project from Team Foundation Service

Deleting a project from Team Foundation Service E-mail
Friday, 22 March 2013 16:10

So I just started working with Microsoft's Team Foundation Service.


For the life of me I couldn't figure out how to delete a project from the Administration panel of my VisualStudio.com account, the homepage of which looks like:




For whatever reason, any projects have to be deleted via the command line, through a utility called TfsDeleteProject, detailed here.


The command to issue is:

TfsDeleteProject /collection:https://pthesis.visualstudio.com/defaultcollection "Contacts Git"

  • https://pthesis.visualstudio.com/defaultcollection - URL of your TFS collection account (circled in the screenshot above)
  • "Contacts Git" - name of the project you want to delete.  (I've already deleted this particular project from my account which is why it's not showing up in the screenshot.)

Below is what the whole transaction looks like in the DOS Command Prompt (cmd.exe).  Note the path to the TfsDeleteProject executable in the prompt, which in my case is c:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE but could be different for you.