4

我试图从Team Foundation Service中删除项目,但出现此错误:

TF200016:以下项目不存在:PetraERP_1。验证项目名称是否正确以及项目是否存在于指定的 Team Foundation Server 上。

我使用的命令是:

TFSDeleteProject /force /collection:https://mydomain.visualstudio.com/DefaultCollection  PetraERP_1

项目路径为$/Petra Solutions/PetraERP_1.

4

1 回答 1

4

Petra Solutions is the team project name.

Deleting this will remove all your code, work items, builds, everything! And it is not recoverable.

If that is the case then, there is an option in the Web Access to do that now.

Or via the command line:

TFSDeleteProject /force /collection:https://mydomain.visualstudio.com/DefaultCollection "Petra Solutions"

If that is not the case, and you just want to delete the PetraERP_1 folder of code, you want the tf delete command line to delete the source code only (this is recoverable).

To use tf delete you need to have a working copy of the code checked out. You can do a non-recursive checkout with the tf get command in a Workspace with a mapping to that path.

于 2013-06-27T21:45:28.113 回答