Deleting a Team Project

Hi,
is there any way to delete a Team Project created by me From Team Explorer exists the remove option but I couldn't find one to delete all the different parts of a Team Project (SCC, Project Portal, Work Items, etc). Is it possible

Thanks a lot

LucasC



Answer this question

Deleting a Team Project

  • Magneto

    That's exactly what I do. I execute DeleteTeamProject.exe. It delete some things (When I enter the team project it is empty) but I can still see the Team Project deleted and add it to my VS IDE.
    It seems to be that the delete operation is not complete.
    As I said, I was trying to delete a Team Project that was not properly created (the templates and the MSF Agile methodology were not copied)
    Any idea to solve this

    Thanks


  • Tim Heckel

    I use DeleteTeamProject to delete a team Project that seems not to be created well (it didn't create any reports or populate the MSF templates).
    DeleteTeamProject executes well (without any errors) but I'm still seeing the deleted project when I connect to TFS.
    I restarted the TFS Server in order to avoid any possible cache, but I'm seeing it today.

    Any idea

    Thanks

  • Morias

    You can do this by using DeleteTeamProject.exe. This deletes all the components of the TeamProject. You can find this under Visual Studio 8\common7\ide\ProvateAssemblies  folder. You need to be a Team System administrator to run this.

    -- Venkat

  • Neil Cowburn

    Hello!

    I also wanted to delete a project and found this thread, I did as you said but in the last process which is Deleteing from vstfs... I get an error saying I do not have permission to do this.

    When I start Visual Studio after doing this the project is still visible in the Connec to TF Server..." dialog but it's gone in the source control explorer. 

    I am logged in as domain administrator which also is a Namespace Administrator, what could be wrong I did not have any problems when I added the the project before.

    Thanks in advance!

    Martin Lundberg


  • RonaldS

    See Buck Hodges blog entry at http://blogs.msdn.com/buckh/archive/2005/01/24/359462.aspx. The post refers to the December CTP, but it works for Beta 2 as well. See the update at the end of the post for the path to DeleteTeamProject.

  • Nayan


    Use DeleteTeamProject.exe (command line utility in the PrivateAssemblies folder) with the /force switch.

    -Amy

  • bibifokk

    In VSTF Beta 3, I can not even find the deleteteamproject.exe file.
    Can someone confirm that it is supposed to be present, and if so, where
    I've installed the data tier, app tier, full client, and have searched on all of them, to no avail.

  • everguess

    Yes I and I also tested to remove another project but it didn't work either. =/
  • Robert II

    The deleteteamproject.exe file gets installed with the Visual Studio 2005 Team System on the client.  It's likely not in the data tier or application tier installations.

    Buck



  • Greg Beech

    Same problem here: the first delete steps are succesful, but the step vstfs fails because of insufficient permissions.
    I am deleting under the account TFSService which has delete project permission on this project.


  • Phong Nguyen

    In the blog http://blogs.msdn.com/buckh/archive/2005/01/24/359462.aspx
    Buck mentions that you need 'Delete' permission on the project level in order for this operation to be successful.

    Can you check if you or your usergroup in TFS have this permission at project level  

  • Duncan Goodall

    I had similar problems - /force switch would error out on report server removal.

    See my post http://forums.microsoft.com/msdn/ShowPost.aspx PostID=69872

    This will require you to do some db lookups to get the right values for the scripts, but will NUKE the project from Currituck and BisDB.

    I backed everything up before I did it, and have not had any problems since. I recommend doing the same, obviously... :)

    I know this is definitely NOT the recommended way to do things, but if it helps you...

    The SQL is in the last reply.

    -Cory

  • knopper2005

    I must be inept or something. I installed Team Foundation Server 2005 April Beta 2 release. Everything's working but I cannot delete projects. Nor can I find any sign of DeleteTeamProject.exe. On the server, VSTF Server 2005 installs to C:\Program Files\Microsoft Visual Studio 2005 Enterprise Server\. Not the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies mentioned in Buck Hodges blog. I thought I was missing something fundamental that hadn't been installed but everything seems to be working fine. Aside from this. Suggestions
  • Klown

    I'm having the exact same problem, but it seems that no one has the answer.  This post seems to be a bit old...

    -- Matthew


  • Deleting a Team Project