Uninstall TFS Power Tools for 2010 Beta 2 before installing VS 2010 RC


Several folks have run into a problem after uninstalling VS 2010 Beta 2 and installing VS 2010 RC.  When VS 2010 runs, you get an error message like the following.

Team Foundation Error

Could not load type

‘Microsoft.TeamFoundation.Client.TeamFoundationServerBase’ from assembly ‘Microsoft.TeamFoundationClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’.

The problem is that the TFS Power Tools for 2010 Beta 2 are installed.  Between Beta 2 and RC we made changes to the 2010 client API, so the Beta 2 power tools release will not work.  We do not currently have a release of the power tools for the RC (we are working on a power tools release for 2010 RTM).

The fix here is to uinstall the TFS Power Tools for 2010 Beta 2.  If after uninstalling it you still get the message, some folks have reported that in order to get rid of it they had to install the power tools again and then uninstall it.

Comments (5)

  1. Cory Seaman says:

    Brian Harry said that an RC drop of the Power Tools would be available no later than today, 2/19.  Where can we see when/where those will be available?

  2. buckh says:

    Cory, it has slipped to early next week.  We’re hoping to have it out on Monday.

    Buck

  3. Russellw says:

    Unable to get this fixed in any way. Help!

    Reinstall works, but uninstall doesn’t (ERROR 1001)

    Tried through add/remove and start msi -> remove (probably same code path anyway).

    Any known ways to get past this yet?

  4. Ben Amodio says:

    Hi Russell… We’ve seen a couple of root causes why uninstall will fail.

    For example, not having VS installed will cause a failure, so you want to e.g. uninstall Beta 2 once a new version of VS is installed.

    If you are still having issues, I can recommend 2 things:

    1) Run the uninstaller by using:

    msiexec /l*v uninstall.log /x tfpt.msi

    That will give you a verbose MSI log file that can pinpoint the exact thing failing to uninstall.

    2) One of our MVPs also seemed to hit this wall where you are sort of "stuck" with the installer, unable to uninstall. His solution was to use msizap (http://msdn.microsoft.com/en-us/library/aa370523(VS.85).aspx) to remove orphaned installer entries. Installing the RC build on top of that helped after the fact.

    Hope this helps,

    Ben

  5. Brent says:

    MSIZAP was a huge help for me! Here's how I did it.  

    I happened to still have MSI from the March 2010 Power Tools saved to my desktop.

    1) Download and install the Windows SDK(http://www.microsoft.com/…/details.aspx)

    2) Open command prompt as an administrator

    3) Browse to the location where the "MSIZAP" utility is installed. Likely C:Program FilesMicrosoft SDKsWindowsv6.0ABin

    4) Run the command: "msizap TPS "[User Directory]Desktoptfpt.msi" > msizap.log"

    5) A log file will be created at C:Program FilesMicrosoft SDKsWindowsv6.0ABinmsizap.log

    I hope this is helpful.

    Brent

Skip to main content