So, You Want to Install TFS 2010 Beta 2 after VS 2010 Pro Beta 2

Well if you do, you’ll find that you’ll be unable to run your Unit Tests. You also find if you try to open up your test settings file, you get an error as follows:

vspro2010-beta2-error-loading-testsettings-dialogOnly

I filed a bug on Connect (#524181) and in working with Microsoft, got a solution. Here’s how to fix it.

Disclaimer: this works on my *virtual machine*. If you try this and your machine blows up, don’t come crying.

OK, with that out of the way, here’s what you need to do:

    1. 1. Shutdown any running copies of Visual Studio 2010 Professional Beta 2.
  1. 2. Start the Registry Editor.
  2. 3. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\EnterpriseTools\QualityTools\TestTypes .
  3. 4. Back up the registry key just in case.
  4. 5. Delete the following sub-keys:

            a. {37e36796-fb51-4610-8d5c-e00ceaa68b9f}
            b. {4e7599fa-5ecb-43e9-a887-cd63cf72d207}
            c. {fa4c85ff-1236-4463-b954-3ba2f0eabd95}
            d. {982b8c01-1a8a-48f5-b98a-67ee64bc8687}

        That should do it. You should now be able to run Unit Tests and edit your test settings.

        To be clear, you should only need to do this if you installed Team Foundation Server 2010 Beta 2 after you installed Visual Studio 2010 Professional Beta 2. If you’re using Visual Studio 2010 Ultimate Beta 2, you won’t have an issue.

        Hope this helps.

Blog mail working

Sorry folks. Thought I had things configured but figured out I didn’t. Things are rectified so if you post a comment I’ll get notified and if you want to contact me via the Contact Me tab above, I should quickly get the e-mail message. Thanks and now on to content creation.

About the author

Brian A. Randell is a Partner with MCW Technologies, LLC. Brian is also currently a Visual Studio ALM MVP.

Month List