Visual Studio 2017找不到Windows.h [英] Visual Studio 2017 can't find windows.h

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

问题描述

您好
我刚刚安装了Visual Studio 2017(企业版)。我打开了我在Visual Studio 2015中创建的项目。我的项目使用Windows.h库,但VS2017无法找到该库。如何修复?

Hell'o I've just installed Visual Studio 2017 (enterprise).I opened my project whom I created in Visual Studio 2015. My project uses windows.h library but VS2017 cannot find this library. How to repair this?

推荐答案

我的解决方案是:


  • 打开项目属性

  • 进入常规-> SDK版本

  • 我只是选择了 10.0.15063.0 版本,而不是8.1

  • Open the project properties
  • Into General --> SDK Version
  • I just picked the 10.0.15063.0 version instead of 8.1

它奏效了。

这篇关于Visual Studio 2017找不到Windows.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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