从Visual Studio Team Services删除团队项目 [英] Delete team project from Visual Studio Team Services

查看:109
本文介绍了从Visual Studio Team Services删除团队项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在域visualstudio.com上使用Team Services,并且需要删除一个项目,我发现我需要使用命令提示符来删除项目,但是当我尝试脚本时,它似乎不起作用

I am using Team Services on domain visualstudio.com and I need to delete one project, I found out that I need to use command prompt to delete projects, but when I tried the script it seemed that it doesn't work

我的脚本是

TfsDeleteProject 
  /force collection:https://mytfs.visualstudio.com/DefaultCollection MyProject

我的第一个错误是我没有将DefaultCollection附加到URL,但是现在我得到了我没有特权的错误.

My first mistake was that I didn't append DefaultCollection to the URL, but now I get error that I don't have privileges.

推荐答案

感谢@Christopher,我能够使脚本正常工作.

Thanks to @Christopher I was able to make the script work.

您可以从开发人员命令提示符"中使用以下命令:

You can use the following command from the "Developer Command Prompt":

TfsDeleteProject /collection:https://mytfs.visualstudio.com/DefaultCollection MyProject

这篇关于从Visual Studio Team Services删除团队项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆