Friday, 15 February 2008

Installing Visual Studio 2005 Extensions for .NET Framework 3.0 after Visual Studio 2008

This took me a while to resolve.

If you come to install the Visual Studio 2005 Extensions for .NET Framework 3.0 after you have installed .NET Framework 3.0 SP1 or Visual Studio 2008 (which installs .NET 3.0 SP1) then you will receive get a message saying you need to have .NET Framework 3.0 installed (as in, no Service Pack). Obviously you can't because you'll have to un-install/re-install a whole chain of stuff.

A small registry hack will let you re-try the installation, add the following to your registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{15095BF3-A3D7-4DDF-B193-3A496881E003}]
"DisplayName"="Microsoft .NET Framework 3.0"

This will fool the installer. I'd recommend removing the registry entry afterwards (that's what I did).

More details here: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2550726&SiteID=1

About Me