Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 502
AntonioC Avatar asked Jun 30 '16 21:06

AntonioC


2 Answers

Had same problem... Auto migrating didn't work, but changing at: properties ->Configuration properties -> windows SDK version

Probably the auto config didn't work while there was some other bug in the code which prevented the compiler to "take effect" or so.

like image 106
ephraim Avatar answered Oct 14 '22 05:10

ephraim


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.

like image 29
AntonioC Avatar answered Oct 14 '22 05:10

AntonioC