错误MSB8036:找不到Windows SDK版本10.0.10069.0. [英] error MSB8036: The Windows SDK version 10.0.10069.0 was not found.

查看:2259
本文介绍了错误MSB8036:找不到Windows SDK版本10.0.10069.0.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此错误消息是怎么回事?  我有一个C ++项目,因为它运行良好,所以已经好几个月了.如今,我在修复了一个小错误后尝试重新构建它,并且收到了此消息,并且它根本无法编译. 显然,根据我所能确定的,对Windows 10的某种自动更新导致了这种情况.我已经搜索了此错误消息,发现只有有人说不要更新到10.0.10586,但这是去年.  那为什么发生在我身上 现在吗?

What's going on with this error message?  I have a C++ project that I haven't touched for a few months as it was running fine.  Today I tried to rebuild it after fixing a minor bug and I'm getting this message and it won't compile at all.  Apparently some sort of auto-update to Windows 10 caused this, as best I can determine.  I've searched on this error message and all I find is people saying don't update to 10.0.10586 but that was last year.  So why is this happening to me now? 

我尝试按照说明重新定位项目.我可以选择10.0.14393.0、10.0.10586.0、10.0.10240.0和8.1.  无论选择哪种方式,我都会遇到与10.0.10069.0相同的错误,而我什至没有.而且,每次 我选择Retarget Projects,将获得10.0.14393作为选择的选项,所以我认为这实际上并没有使我的选择成为现实.

I tried following the instructions to retarget the project.  I have 10.0.14393.0, 10.0.10586.0, 10.0.10240.0 and 8.1 as options.  No matter which I choose I get the same error regarding 10.0.10069.0 which I don't even have.  Also, every time I select Retarget Projects I get 10.0.14393 as the selected choice, so I don't think it's actually taking my selection. 

那么Microsoft发生了什么事,我又该怎么做才能再次构建此项目?正因为如此,我现在已经死在水中了.我曾尝试将Platform Toolset更改为Visual Studio 2015-Windows XP(v140_xp),但是当我这样做时,我的项目无法 甚至找不到windows.h!  他们是怎么这么糟的?

So what did Microsoft break and what do I have to do build this project again?  I'm dead in the water right now because of this.  I've tried changing Platform Toolset to Visual Studio 2015 - Windows XP (v140_xp) but when I do that my project can't even find windows.h!  How did they screw this up so badly?

推荐答案

基思(Keith)

Keith,

您是否尝试过在VS安装上进行修复操作?

Have you tried doing a repair operation on the VS installation?

我周末在机器上遇到了类似情况
修理似乎已经解决了.

I've encountered a similar situation on my machine over the weekend
and repairing seems to have resolved it.

戴夫


这篇关于错误MSB8036:找不到Windows SDK版本10.0.10069.0.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆