Is it possible to Install .net 4.7 version on my machine when .net 4.8 is already installed?

Viewed 8957

I have the following .net versions on my machine. I started working on a .net project which's targetframework is 4.7. When I tried to install .net 4.7, I got this error ".NET Framework 4.7 or a later update is already installed on this computer."

Is it possible to Install .net 4.7 version on my machine when .net 4.8 is already installed ?

PSChildName                      Version        Release
-----------                      -------        -------
v2.0.50727                       2.0.50727.4927
v3.0                             3.0.30729.4926
Windows Communication Foundation 3.0.4506.4926
Windows Presentation Foundation  3.0.6920.4902
v3.5                             3.5.30729.4926
Client                           4.8.03761      528049
Full                             4.8.03761      528049
Client                           4.0.0.0
3 Answers

If I am guessing correctly you need a Developer Pack for .NET 4.7.

The SDK/Developer Pack and the Runtime are not the same.

Know that a machine could be able to run applications that target a given .NET version but not build for it, if it has a compatible Runtime but not the particular SDK (software development kit).


Using Visual Studio Installer, you should be able to add the development tools:

Visual Studio Installer

See Install the .NET Framework for developers.

You can also get the SDKs/Developer Packs at Download .NET SDKs for Visual Studio.


Did you try installing the Developer Pack for .NET 4.7? Does that solve the problem? I think you only did try to install the .NET 4.7 Runtime, not the Developer Pack.

As per installing the Runtime , as you have found out, the installer won't let you. If you really need the old Runtime※ you would have to uninstall the newer version and the install then old one.

※: Which is unlikely, given that the Runtimes up to .NET 4.8 keep backwards compatibility to .NET 4.5. See Version compatibility in the .NET Framework before you decide going on uninstalling.

If you have 4.5.1 installed then you CAN install 4.6.1 but if you already have 4.6.1 then you CANNOT go down to 4.5.1 First, you have to uninstall the latest version (in this example 4.6.1) and then you will be able to install the downgraded version (in this example 4.5.1), otherwise it will give an error. Once your software is installed for which you are installing down version. Simply download and install the latest version of .Net Framework again.

I faced the exact issue on my machine.

.net Framework 4.8 is installed and I need to install 4.7, I have tried to install 4.7 "Runtime" version and it says "Can't install because 4.7 or later version is already installed on your machine".

But when I tried with 4.7 Developer Version, it installed successfully.

enter image description here

So in-short go with Developer Pack, if you need to install Lower Verson of .net Framework.

Related