{"id":2523,"date":"2012-03-25T11:58:00","date_gmt":"2012-03-25T11:58:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2012\/03\/25\/using-the-windows-software-development-kit-sdk-for-windows-8-consumer-preview-with-visual-studio-2010\/"},"modified":"2019-02-18T18:41:47","modified_gmt":"2019-02-18T18:41:47","slug":"using-the-windows-software-development-kit-sdk-for-windows-8-consumer-preview-with-visual-studio-2010","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/using-the-windows-software-development-kit-sdk-for-windows-8-consumer-preview-with-visual-studio-2010\/","title":{"rendered":"Using the Windows Software Development Kit (SDK) for Windows 8 Consumer Preview with Visual Studio 2010"},"content":{"rendered":"<p>Now that the Windows Software Development Kit (SDK) for Windows 8 Consumer Preview has been released, I would like to show you how you can use the Windows 8 SDK with Visual Studio 10.<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Download and install the SDK from <a href=\"http:\/\/msdn.microsoft.com\/en-us\/windows\/desktop\/hh852363\" target=\"_blank\">http:\/\/msdn.microsoft.com\/en-us\/windows\/desktop\/hh852363<\/a>.<\/li>\n<li>Note the location of your Win8 SDK install &ndash; by default it is %PROGRAMFILES%\\Windows Kits\\8.0\\<\/li>\n<li>Open your project in VS 2010.&nbsp; The instructions to do this in VS11 with the v100 platform toolset are similar and you may try that out as well, but these instructions below show how to do this in VS 2010.<\/li>\n<li>For each project where you want to use the Windows 8 SDK, go to project properties, VC++ Directories<\/li>\n<\/ul>\n<p style=\"padding-left: 60px\"><span style=\"line-height: 0px\">&nbsp;<\/span><a href=\"https:\/\/devblogs.microsoft.com\/00\/00\/00\/65\/69\/6443.img.jpg\" style=\"line-height: 0px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/00\/00\/00\/65\/69\/6443.img.jpg\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<ul>\n<li>Change the following properties (if you installed the SDK to a different location, replace the SDK path with your custom install location):<\/li>\n<\/ul>\n<p style=\"padding-left: 60px\">&#8211;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In &ldquo;Executable Directories&rdquo; replace <b>$(WindowsSdkDir)bin<\/b> with <b>$(ProgramFiles)\\Windows Kits\\8.0\\bin\\x86<\/b><\/p>\n<p style=\"padding-left: 60px\">&#8211;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In &ldquo;Include Directories&rdquo; add <b>$(ProgramFiles)\\Windows Kits\\8.0\\Include\\um;$(ProgramFiles)\\Windows Kits\\8.0\\Include\\shared<\/b> at the beginning and remove <b>$(WindowsSdkDir)include<\/b><\/p>\n<p style=\"padding-left: 60px\">&#8211;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In &ldquo;Library Directories&rdquo; replace <b>$(WindowsSdkDir)lib<\/b> with <b>$(ProgramFiles)\\Windows Kits\\8.0\\lib\\win8\\um\\x86<\/b><\/p>\n<p style=\"padding-left: 60px\">&#8211;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In &ldquo;Exclude Directories&rdquo; replace <b>$(WindowsSdkDir)include<\/b> with <b>$(ProgramFiles)\\Windows Kits\\8.0\\Include\\um;$(ProgramFiles)\\Windows Kits\\8.0\\Include\\shared<\/b><\/p>\n<p style=\"padding-left: 60px\">&#8211;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When targeting x64, replace x86 with x64<\/p>\n<p>&nbsp;<\/p>\n<p>That&rsquo;s it &ndash; you should be ready to build and run!<\/p>\n<p>&nbsp;<\/p>\n<p><b>Alex Thaman<\/b><\/p>\n<p>Senior Test Lead<\/p>\n<p>Visual C++ Team<\/p>\n<p>Microsoft Corp.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that the Windows Software Development Kit (SDK) for Windows 8 Consumer Preview has been released, I would like to show you how you can use the Windows 8 SDK with Visual Studio 10. &nbsp; Download and install the SDK from http:\/\/msdn.microsoft.com\/en-us\/windows\/desktop\/hh852363. Note the location of your Win8 SDK install &ndash; by default it is [&hellip;]<\/p>\n","protected":false},"author":289,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[148],"class_list":["post-2523","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","tag-sdk-vs2010-windowssdk"],"acf":[],"blog_post_summary":"<p>Now that the Windows Software Development Kit (SDK) for Windows 8 Consumer Preview has been released, I would like to show you how you can use the Windows 8 SDK with Visual Studio 10. &nbsp; Download and install the SDK from http:\/\/msdn.microsoft.com\/en-us\/windows\/desktop\/hh852363. Note the location of your Win8 SDK install &ndash; by default it is [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/2523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/289"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=2523"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/2523\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=2523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=2523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=2523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}