This was an easier process that I thought, although I had to uninstall TFS 2010 and all the Visual Studio 2010 products before upgrading. There was a little corner of my mind that thought it might not work. I actually upgraded the copy on the VS2010 Beta 2 VPC that you can download from MSDN. Instead of backing up the SQL database, I backed up the VHD before I removed any software.
I followed the “TFS Upgrade” instructions from TFS 2010 Beta2 to RC Upgrade Guide (v1.02).pdf, which is hosted on Brian Krieger’s blog at http://blogs.msdn.com/bkrieger/archive/2010/02/03/tfs-2010-beta2-to-rc-upgrade-guide.aspx. After reading it, I felt like there was something left out, but everything went swimmingly. After uninstalling and reinstalling TFS and Visual Studio 2010, I ran the TFS 2010 (x86) installer. After a reboot (required by the .NET 4.0 installer), it finished installing TFS. At the final wizard pane, I clicked “Configure”, and one of the options was “Upgrade”. I clicked on the “Upgrade” link, and ran through the process. Easy as pie.
The wizard had about 4 or five more steps, but they were straightforward. I made sure to use a reporting userid that wasn’t “Local Service” or “Network Service”. Everything else upgraded with nearly no input on my part. Finally, I got the successful upgrade screen:
At the end, I rebooted.
Here are the instructions I followed:
1. Ensure you have a backup of existing SQL databases (TFS, SharePoint, and Reporting) 2. Uninstall Team Foundation Server 2010 Beta2 components (in-place upgrade)
3. If using a separate SharePoint farm uninstall TFS 2010 Beta2 extensions and install TFS 2010 RC extensions 4. Run the TFS 2010 RC setup and select the Upgrade from Previous Version Wizard 5. Uninstall and reinstall the additional components located on separate machines
At the end, I did have to remove the Beta 2 Power Tools because they have an object model conflict (the 2010 RC Object Model changed slightly, but enough to cause problems). If you see anything like:
Could not load type 'Microsoft.TeamFoundation.Client.TeamFoundationServerBase' from assembly 'Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Go check out Grant’s posting at http://blogs.msdn.com/granth/archive/2009/12/07/tfs2010-object-model-api-changes-after-beta-2.aspx.
I also had to upgrade my existing CodedUI tests for the VS2010 upgrade to RC. There is a description at http://blogs.microsoft.co.il/blogs/shair/archive/2010/02/14/howto-upgrade-codedui-test-from-beta-2-to-rc.aspx. I ran the utility as admin, although there shouldn’t be any reason to do so—I just needed to check out the project first:
There are some other steps, like uploading new build templates and uploading the RC process templates, which are described at the end of the upgrade guide.