I ran into a migration today where the client had scores of Area nodes in their TFS 2008 team project that they wanted migrated over to their new TFS 2010 team project. My usual “Well, if you manually re-create them, you can use it as an opportunity to clean up the list” speech didn’t go over too well, so I searched for an automated solution (feeling too lazy to build one). I found that fellow MVP Neno Loje had created both a 2008 and 2010 version of just such as tool (as well as a 2005 version if you care).
Here are the steps I followed:
- Downloaded the 2008 version of the AreaImportExport tool and extracted onto the TFS2008 AT machine.
- Ran the .exe (pre-built for me in binRelease) and exported the areas and iterations to the EB2008.nodes file.
- The project administrator edited the EB2008.nodes file (it’s just a text file) and cleaned up the list of areas and iterations.
- Downloaded the 2010 version of the AreaImportExport tool and extracted onto the TFS2010 AT machine.
- Ran the .exe (pre-built for me in binRelease) and imported the new areas and iterations from the EB2008.nodes file.
Thankfully Neno didn’t change the .nodes file format between versions.
- Done. #Happy
I’m sure I’ll be doing more of this with the move from TFS 2010 > TFS11, assuming Neno updates the utility (or I get un-lazy).