Deleting a Project From

I really appreciate having the online Team Foundation Service ( as free source control for my personal projects. It has saved my bacon more than once when I’ve needed to roll back my code to a known good point, regroup, and dive in afresh.


While doing some housekeeping, I wanted to clear out old projects. There didn’t seem to be a way to delete a project in the browser-based interface or the embedded VS 2012 GUI.


The short answer is that you need to use the Visual Studio 2012 Command Prompt. Here’s where the shortcut led on my system:


%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\VsDevCmd.bat""


At the prompt, execute this command, inserting your own TFS name and project name.


TfsDeleteProject /collection: ProjectName

Published Friday, August 2, 2013 9:57 PM by Ken Cox [MVP]


# re: Deleting a Project From

Saturday, September 21, 2013 5:40 AM by Thomson


This is a very useful tip.Bookmarked it.


Leave a Comment