none
如何删除已经建立的项目? RRS feed

  • 问题

  • 如何删除已经建立的项目?    
     
    用这个“
    Example:

       DeleteTeamProject MyProject

     

    Help:


        DeleteTeamProject.exe
        Usage:

        

        DeleteTeamProject [/q] [/domain:<domainName>] <project name>

        

            [/q]  - Quiet mode.  Do not prompt the user for confirmation.
            [/domain:<domainName>] The name of the domain.  Necessary in multi-domain environments.
            <project name> The name of the project.  Use quotation marks if there are spaces in the name.

        

        Deletes the Portfolio Project from Team System.  After deletion, the project may not be recovered.  Use with caution.  Required permission: DELETE on the project.


    如上所说 我无法删除  有没有最新的说明
    2007年8月10日 7:53

答案

  • First of all, which version of the product are you using? Beta3? The tool in current product is called TfsDeleteProject:

    Usage: TfsDeleteProject [/q] [/force] </server:<server name>> <team project name>

    Deletes the Team Project from Team Foundation. To use this command, you must be a member of either the Team Foundation Server Administrators group or a member of the Project Administrators group for the project you are deleting. Use this command with caution because after deleting the team project it cannot be recovered.

    [/q] - Do not prompt for confirmation.
    </server:<server name>> - The name of the Team Foundation server.
    [/force] - Continue even if some data cannot be deleted.
    <team project name> - The name of the project. Use quotes if there are spaces in the name.

    In your case, do you have permission to delete project? In another word, do you belong to either Team Foundatio Server Administrators group or Project Administrators group? Hopefully the following link can help:

    http://blogs.msdn.com/buckh/archive/2005/01/24/359462.aspx
    2007年8月10日 7:58

全部回复

  • First of all, which version of the product are you using? Beta3? The tool in current product is called TfsDeleteProject:

    Usage: TfsDeleteProject [/q] [/force] </server:<server name>> <team project name>

    Deletes the Team Project from Team Foundation. To use this command, you must be a member of either the Team Foundation Server Administrators group or a member of the Project Administrators group for the project you are deleting. Use this command with caution because after deleting the team project it cannot be recovered.

    [/q] - Do not prompt for confirmation.
    </server:<server name>> - The name of the Team Foundation server.
    [/force] - Continue even if some data cannot be deleted.
    <team project name> - The name of the project. Use quotes if there are spaces in the name.

    In your case, do you have permission to delete project? In another word, do you belong to either Team Foundatio Server Administrators group or Project Administrators group? Hopefully the following link can help:

    http://blogs.msdn.com/buckh/archive/2005/01/24/359462.aspx
    2007年8月10日 7:58
  • 对,使用2楼同志的这个命令就可以搞定,TFS有些情况是必须通过命令行来搞定的!

     

    2007年8月14日 9:29