wrong sdk version

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
nikpapa3010
Posts: 3
Joined: April 23rd, 2019, 10:00 am

wrong sdk version

Post by nikpapa3010 » April 23rd, 2019, 10:05 am

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".
Attachments
Screenshot (9).png
(183.62 KiB) Not downloaded yet
Screenshot (8).png
(173.04 KiB) Not downloaded yet
Screenshot (7).png
(160.97 KiB) Not downloaded yet
Last edited by nikpapa3010 on April 23rd, 2019, 2:18 pm, edited 3 times in total.

nikpapa3010
Posts: 3
Joined: April 23rd, 2019, 10:00 am

Re: SDK FILE LOST?

Post by nikpapa3010 » April 23rd, 2019, 10:06 am

you can see the errors on the attachments

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: wrong sdk version

Post by chili » 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.
Chili

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: wrong sdk version

Post by albinopapa » April 23rd, 2019, 9:06 pm

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 ).
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

nikpapa3010
Posts: 3
Joined: April 23rd, 2019, 10:00 am

Re: wrong sdk version

Post by nikpapa3010 » April 24th, 2019, 11:32 am

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

Post Reply