Vista Users - Uninstall Visual Studio 2010 Beta 1 before upgrading to Windows 7
Disclaimer: I do work for Microsoft, but is my opinion. If this walkthrough causes your ferret emotional distress, I'm sorry. Who is this? Stop calling! Jimmy no live here! You no call back!
I'm an early adopter so I've been running Beta 1 of .NET 4 and Visual Studio 2010 on a Vista machine. However, Beta 1 of .NET 4 doesn't survive an upgrade to Windows 7 and leaves the .NET Framework in a goofy and unfixable state. Beta 2 won't have this problem.
So, in a nutshell if you're running .NET 4 and Visual Studio 2010 Beta 1 on Vista you've got two options*.
1. Uninstall, Upgrade, Reinstall
- Uninstall Visual Studio 2010 Beta 1
- Uninstall .NET Framework 4
- Upgrade to Windows 7
- Reinstall .NET Framework 4 and Visual Studio 2010 Beta 1
Or:
2. Clean Install
- You can do a clean install of Windows 7, which is what I did anyway, as I like my Major OS Upgrades to be fresh.
When you're talking about OS Upgrades and Early Beta Software, if you really want to be confident, I say clean install.
It an unfortunate Beta 1 bug, so tell your early-adopter developer friends (or blogs) so they don't have trouble upgrading.
Related Links
- UPDATE: This is so deeply not-supported but there's some folks that claim to have a way to FIX this unfixable state. Details over here.
- Migrating Data for a Clean Windows 7 Upgrade
- KB2001109 on VS2010b1 and Upgrading to Win7
* You might be running Windows 7 RC and thinking to do an unsupported upgrade to Windows 7 RTM. If so, remember, it's not supported, but you'll have this problem upgrading too, so uninstall Dev10b1/.NET4 first.
Here's technical details on how to uninstall VS 2010 Beta 1 and .NET 4 Beta 1:
- Uninstall TFS Object Model (This step is Visual Studio 2010 Team Suite only)
- From Add/Remove, uninstall Microsoft Team Foundation Server 2010 Beta 1 Object Model
- 2. Uninstall Visual Studio 2010 Beta 1
- From Add/Remove, uninstall all instances of Visual Studio 2010 (Team, Pro, etc. You likely have just one, but one can't be sure.)
- Be sure to see the Visual Studio Setup wizard through to completion.
- 3. Uninstall .NET Framework 4 Beta 1
- From Add/Remove, uninstall in this order:
- Microsoft .NET Framework 4 Extended Beta 1 - Language Pack
- Microsoft .NET Framework 4 Client Profile Beta 1 - Language Pack
- Microsoft .NET Framework 4 Extended Beta 1
- Microsoft .NET Framework 4 Client Profile Beta 1
- From Add/Remove, uninstall in this order:
- Reboot
- Uninstall C++ 2010 Redistributable
- From Add/Remove, uninstall Microsoft Visual C++ 2010 Beta 1 Redistributable (x86 and/or x64)
- Reboot
Hope this beta hassle saves you a worse hassle when it comes time for you to upgrade to Windows 7. Again this won't be a problem in .NET 4 Beta 2.
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
Ian - Thanks, they are the highlight of my day. :)
Should have used a VM for those beta suckers
You might be running Windows 7 RC and thinking to do an unsupported upgrade to Windows 7 RTM. If so, remember, it's not supported, but you'll have this problem upgrading too, so uninstall Dev10b1/.NET4 first.
I'm about to just wait for the next VS 2010 beta lol.
I also did the upgrade before seeing your warning, Scott, so I went ahead and worked out a fix for the problem. It's not for the faint-hearted, but you can find the instructions in my 13-step post on this thread:
http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/a5d827d7-05b4-41b9-9565-e9e4abb12e66
Another person reporting the issue below and from the response it doesnt look like there will be amy white smoke soon:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=478238
My blog on my travails: SQL Server SP1 Setup: Does it really need a beta version of .Net 4?.
Thanks Scott.
Make it clean peeps!
I was struggling with uninstalling vs 2010 beta few days ago. Your post was very helpful, however I had to modify order of steps presented here.
More details here: http://codepark.blogspot.com/2009/10/how-to-uninstall-visual-studio-2010.html.
Comments are closed.