I am trying to migrate our application to the newer version of .NET Framework. From current version of 4.5 to 4.6.1
Reason, why we are migrating to version 4.6.1 instead of 4.7 or 4.6.2 is, that most of our users and developers do have Windows 10 November update and based on information from .NET Framework System Requirements, .NET Framework 4.6.1 should be preinstalled in this version of Windows by default. This would leave us without any needs for users to download any kind of update.
The problem we are facing is, that every time we run our application following error message is displayed:
This application requires one of the following versions of .NET Framework: .NETFramework,Version=v4.6.1
Do you want to install this .NET Framework version now?
I have also checked what version of .NET Framework is listed in registry following MSDN's article: How to: Determine Which .NET Framework Versions Are Installed
The Registry value is 394806 which should actually be even .NET Framework 4.6.2
Any ideas how to solve this issue and what may cause it? I do not want users to be forced to install the update as it should be part of OS anyway.