6

How to rename a project in the Team Foundation Server 2008? What are khown issues?

Toro
  • 766
  • 3
  • 22
  • 30

5 Answers5

5

The Team project cannot be renamed in TFS v1

You may use the following workaround (sort of workaround, because you won't really end up with renamed project with identical contents):

  1. Create new project with desired name
  2. Copy work items from old project to a new one (one-by-one, as there is no bulk copy option).
  3. Move all source control folders from under old project folder to a new project folder Sharepoint portal documents cannot be moved in bulk (as far as I know), so you do that manually
  4. Move of source code will retain the files history, and work items will also have partial history, but overall I would say the workaround does not worth the labour (and Sharepoint docs will not have their history). At any rate, selecting right name in the beginning beats any workaround by far.

Source

Espo
  • 366
  • 4
  • 10
  • Renaming a Team Project is also not supported in the latest version of TFS currently in development (TFS 2010). Therefore probably best to just stick with the name you have unless it is really bad. – Martin Woodward Jun 05 '09 at 12:19
4

You can't rename a project name even in TFS 2010.

However, the renaming feature is often requested. Go here and vote for this feature to force Microsoft to put it in next version of TFS.

https://connect.microsoft.com/VisualStudio/feedback/details/554539/cant-rename-a-team-project-in-tfs-2010

  • 1
    Voting was closed: "Due to current priorities, the product team decided to postpone the resolution of this item." – oleschri Dec 16 '11 at 09:17
2

I think renaming is one of the most sought after features. Unfortunately, as mentioned above, there is no contextual menu to do a site rename. If you don't utilize the work items or the sharepoint features, the built in move command will be your best bet. You will, as mentioned above have to create a new team project with the desired name.

Aaron Corcoran
  • 209
  • 1
  • 2
  • 5
1

Whilst you can't rename a Project from within TFS, there are now easier ways to accomplish the whole Move files, Copy/Paste Work Items steps outlined previously:

TFS Integration Platform

If you download the release from the Visual Studio Tools Gallery this will allow you to move source control items with history, as well as work items to a new project - indeed the initial Hands On Lab included in the documentation walks you through this exact scenario.

0

You can now rename a team project on Visual Studio Online and in the upcoming TFS 2015 release: https://msdn.microsoft.com/library/vs/alm/tfs/administer/project-rename

Buck Hodges
  • 109
  • 2