Hide or inactivate team project in Team Explorer
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?
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.
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!
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.
精彩评论