Page 1 of 1

wrong sdk version

Posted: April 23rd, 2019, 10:05 am
by nikpapa3010
So i started my visual studio and wanted to see if my program still works and then for some reason i got many errors




please help me chili i need to finish a game for next week for school

even when i retarget the solution it still doesn't work for some reason. I went to the Properties of the Engine and the SDK Version is 8.1.
The Output tells me this even when the SDK Version is 8.1
1>C:\Program Files\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 8 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".

Re: SDK FILE LOST?

Posted: April 23rd, 2019, 10:06 am
by nikpapa3010
you can see the errors on the attachments

Re: wrong sdk version

Posted: April 23rd, 2019, 3:13 pm
by chili
Maybe try running the installer, getting a newer version of winsdk on your system (like a 10 version), and then switching the solution to that.

Re: wrong sdk version

Posted: April 23rd, 2019, 9:06 pm
by albinopapa
Yeah, it appears that you didn't install the 8.1 SDK when you installed Visual Studio 2017 or it has been uninstalled after an update. Either go into the properties and select a different SDK version ( one from the list of available SDKs, or open the VS Installer to change options and find the 8.1 SDK in the list, put a check mark in it and click Modify or OK ( can't remember what the option is ).

Re: wrong sdk version

Posted: April 24th, 2019, 11:32 am
by nikpapa3010
chili wrote:
April 23rd, 2019, 3:13 pm
Maybe try running the installer, getting a newer version of winsdk on your system (like a 10 version), and then switching the solution to that.
yeah i fixed it i just installed it again and it Works :D

thx chilli