Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / web / ASP.NET

ASP.NET MVC 4 for Visual Studio 2010 Installation Errors - Incompatible with .NET 4.5 or Earlier, Upgrade to .NET Framework 4.5 latest version

3.77/5 (4 votes)
27 Sep 2012CPOL1 min read 61.7K  
ASP.NET MVC 4 for VS2010 Installation Errors, 0x81f40001 - This product is incompatible with .NET 4.5 or earlier. You must upgrade to .NET Framework 4.5 to the latest version before installing this product, with Web Platform Installer and MSI.

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 my case, my box was already having .NET Framework 4.5 RC and I wanted 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 the below error:

Image 1

Ohh Mad | :mad: ...Very Strange, error says that Visual Studio 2010 needs .NET Framework 4.5! I thought it might be some problem with the standalone setup, so I thought of using the Web Platform Installer, and it also gave some similar error, see the screenshot below.

Image 3

Solution

To resolve this issue, I removed the .NET Framework 4.5 RC from the local box.

Visual Studio 2010 - ASP.NET MVC 4 Installation Errors- 0x81f40001 - This product is incompatible with .NET 4.5 or earlier, You must upgrade to .NET Framework 4.5 to the latest version before installing this product. Shemeer

Wait... there is one more thing you need to do.

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".

Please let me know if you found any other solution for this issue.

You might be interested in checking out Visual Studio 2010- Unknown Error after uninstallation of Framework 4.5.

History

  • 28th September, 2012: Initial version

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)