How to Delete a Team Foundation Service Project

  1. Open a command prompt (In Windows 7/8: Click Start, type ‘cmd’, press ‘Enter’)
  2. Enter the following in the command prompt:
    cd /Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE/ 
  3. Press ‘Enter’
  4. Enter the following in the command prompt:
    tfsdeleteproject /collection:https://yourprefix.visualstudio.com/DefaultCollection yourprojectname
  5. Press ‘Y’ and hit ‘Enter’