在团队资源管理器中隐藏或停用团队项目
我有一个项目集合和下面的几个团队项目。其中一个团队项目用于现在冗余的项目,我想隐藏它或停用它,以便它不再显示在集合中的可用团队项目列表中。有没有办法在不删除团队项目的情况下实现这一目标?
I have one project collection and several team projects underneath. One of the team projects is for a now redundant project and I want to hide this or inactivate it so it no longer shows up in the list of available team projects in the collection. Is there a way of achieving this without deleting the team project?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以尝试从该项目的安全组中删除所有人。如果人们无法访问它,他们就看不到它。
我认为收藏管理员总是会看到所有项目。
You can try to remove everyone from security groups of this project. If people don't have access to it, they will not see it.
I think collection administrator will always see all the projects.
我建议将不再需要的代码移至“存档”项目中,并使其只读。
然后,您可以通过执行以下操作来删除团队项目。
转到 Visual Studio 命令提示符并使用 TfsDeleteProject.exe
TfsDeleteProject / server:myserver "Project Name"
希望这有帮助!
I would suggest moving the code you no longer needed into an "Archive" project, and make it read only.
You can then delete the Team project by doing the following.
Go to the Visual Studio command prompt and use TfsDeleteProject.exe
TfsDeleteProject / server:myserver "Project Name"
Hope this helps!
请注意,在 TFS 中删除项目时,所有源代码历史记录也会结束,因此,如果您将代码从一个项目分支到另一个项目,然后删除第一个项目,所有历史记录将从分支之日起被删除。
因此,如果有一个“隐藏”选项或“删除项目但保留源历史记录”选项就太好了。
Please know that when deleting projects in TFS all source-code history also ends so if you have branched code from one project to another and then deletes the first project all history will be erased from the day you branched.
It would therefore be great to have a "hide" option or "delete project but keep source history" option.