November 1, 2012 09:22 by
Scott
Introduction
When you install ASP.NET MVC 4 for Visual Studio 2010, If you are already using 4.5 framework in your box then you might get some strange errors.
Background
In this case I already having .NET Framework 4.5 RC and I want to install ASP.NET MVC 4 for Visual Studio 2010.
I tried using the standalone installer for ASP.NET MVC 4 for Visual Studio 2010 but it throws me below error
Yes, you’ll see this strange error. The error said that Visual Studio 2010 needs .NET Framework 4.5. So, how to fix this error.
Solution
To resolve this issue I removed the .NET Framework 4.5 RC from local box.
And the second is uninstalling the .NET Framework 4.5 also removes pre-existing .NET Framework 4 files. If you want to go back to the .NET Framework 4, you must reinstall it and any updates to it.
If you are not installing .NET Framework 4.0 after uninstallation of Framework 4.5 then you will get another error saying something like 'Framework 4.0 not found".
Hope it helps!