Georgia Georgia - 1 month ago 23
C++ Question

Retargetting solution has no effect

I have installed the latest Windows 10 SDK from here:
https://developer.microsoft.com/de-de/windows/downloads/windows-10-sdk

When I try to rebuild my solution, I get the error "MSB8036 The Windows SDK version 10.0.10069.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".

That is what I did:
enter image description here

The IDE tells me: "Retargeting End: 2 completed, 0 failed, 0 skipped".

However, when I then try to rebuild the solution, I'm getting the same error again.

Does anybody have any hint how to solve this problem?

Answer

Hmmm, I switched the "Platform Toolset" in the voice project from "Visual Studio 2015 (v140)" to "Visual Studio 2015 - Windows XP (v140_xp)" (which I wanted anyway), and now it works.

I guess that doesn't solve the problem for anybody who has the same problem, but in my case it solved the problem.