本文介绍了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
发布评论