Visual Studio 2017找不到Windows.h

编程入门 行业动态 更新时间:2024-10-26 05:26:50
本文介绍了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

本文发布于:2023-11-14 02:48:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1586012.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   Studio   Visual   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!