I have one friend with Windows 7 OS (x64). For this OS .net 4.6.1 is unsupported. I have on my pc Windows 10 (x64) with install vs community 2015 and here all working fine.
So, when my friend is trying to launch my app he gets request to install .net 4.6.1.
In vs project "Target framework" field is ".NET Framework 4.5.2"
Crutches from Microsoft?
and what can i do for fix that?
Support for . NET Framework 4.5. 2, 4.6, and 4.6. 1 ended on April 26, 2022.
Whether you need any of them or not depends on what you're running. Most applications out there are still built for . NET 2 to 3.5 so installing 3.5 will cover you for that. I would recommend installing 4 as looking forwards that's what Microsoft want people to be using.
NET Framework 4.5 and later versions are backward-compatible with apps that were built with earlier versions of the . NET Framework. In other words, apps and components built with previous versions will work without modification on the . NET Framework 4.5 and later versions.
From here:
The .NET Framework 4.6 is an in-place upgrade for all of the following versions of the .NET Framework:
- .NET Framework 4
- .NET Framework 4.5
- .NET Framework 4.5.1
- .NET Framework 4.5.2
An in-place upgrade means that if you install the .NET Framework 4.6 when any of the above versions of versions of the .NET Framework are installed on your PC, .NET Framework 4.6 setup will upgrade them and you will be left with only the .NET Framework 4.6 installed afterwards. In addition, any attempts to install older versions of the .NET Framework 4 family when the .NET Framework 4.6 is already present will result in .NET Framework setup blocking you from installing because it detects that a newer version is already installed.
The .NET Framework 4.6 is designed to be compatible with all applications created with any version of the .NET Framework from 4 to 4.6, but there are sometimes application compatibility issues that arise, such as an installer that tells the user that they must install the .NET Framework 4.5 even if the .NET Framework 4.6 is already installed. In cases like this, you might need to revert back from the .NET Framework 4.6 to an earlier version of the .NET Framework 4 family. To do that, you must uninstall the .NET Framework 4.6 and then re-install the earlier version of the .NET Framework from the .NET Framework 4 family.
Basically, it is prompting you to install 4.6.1 because it is the highest version that is compatible with your program that is targeting 4.5.2, and the target machine apparently doesn't have any compatible framework (4.5.2 or higher) installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With