I am trying to install Windows SDK for Windows 7 with .NET Framework 4 but when I open the setup I receive an error:
Some Windows SDK components require the RTM .NET Framework 4. Setup detected a pre-release version of .NET Framework 4. If you continue with Setup, these components will not be installed. If you want to install these components, click Cancel, then install the .NET Framework 4 from https://go.microsoft.com/fwlink/?LinkID=187668 and then rerun Setup.
Click OK to continue.
When I went to install the .NET Framework 4 it appears a message saying that there is already the .NET Framework 4 on my PC:
The Microsoft .NET Framework 4 is already part of the operating system. No need to install the .NET Framework 4 redistributable. More information.
An equal or higher version of the .NET Framework 4 has already been installed on the computer.
I don't know what to do anymore. I am using Windows 10 Enterprise (x64).
It is not necessary if you limit yourself to what is possible with standard C++ (console-only output, using the C++ standard library, etc). If you don't know, but have in mind "I just want my applications to have a windows interface" then you need the windows SDK. Well, technically, you don't need the SDK.
The Windows SDK is installed as part of the Desktop development with C++ workload in the Visual Studio Installer. A standalone version is available at Windows SDK. Open the shortcut menu for the project node, and choose Retarget projects. (In earlier versions of Visual Studio, choose Retarget SDK Version.)
The Visual Studio SDK (Software Development Kit) is an optional feature in Visual Studio setup. You can also install the VS SDK later on.
With Windows 10 x64, the setup is blocked by:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full\Version HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client\Version
Change both values temporarily to 4.0.30319
and the setup will let you continue. Make sure you edit the registry with elevated privileges, otherwise you will not be allowed to change the values.
I had to uninstall the following:
Before installing the Windows 7.1 SDK, and the install package reinstalls those two during installation.
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