32
votes

Is it possible to rename a TFS2010 team project?

The project in question is based on the CMMI 5.0 team project template, but it has been modified with several custom modifications (new WITs and link types).

For a rename to be feasible, all history must be maintained.

4
Check the provided link from Ed Blankenship, now it is possible! :-)UNeverNo
And now it's been removed with this note from the Author: 'Microsoft has asked me to remove this tool from CodePlex (for now) as the methods used to rename the project can put a project in an unsupportable state (in some scenarios).'Dave Hogan

4 Answers

27
votes

In all: No, it can't be done.

Your only shot is to create a new Team Project named as you 'd like and then move everything to it. This involves serious work done by hand.
After that, you can't erase your old TeamProject - you will loose the history. You can lock it and make it unavailable to everybody.

After having done this a few times we think about the names of our Team Projects a lot. If at some point their name is(gets) wrong, I 'd say we 'll live with the mismatch.

17
votes

Unfortunately, team projects in TFS are not able to be renamed in TFS 2005, TFS 2008, or TFS 2010. It's currently the #1 feature on the Visual Studio User Voice site for TFS. If this is something that's important, I'd recommend putting some votes on that feature: http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2037605-rename-project-in-tfs

2
votes

As far as I know you can create a new TeamProject and move your sources while maintaining history. Not sure if work items are preserved even when you delete/destroy the original TeamProject though.

1
votes

As per the other comments "No, you can't", when we do it here we create a new project and then migrate source and work items over using the TFS Integration Platform, then delete the original project