在VS2017中打开一个VC++项目,#include 行提示 cannot open source file "Windows.h"
解决方法:
右击Project -> Properties -> General -> Windows SDK Version, 选择 10.0.xxxxx
保存,问题解决。
参考:
c++ - Visual Studio 2017 can't find windows.h - Stack Overflow
在VS2017中打开一个VC++项目,#include 行提示 cannot open source file "Windows.h"
解决方法:
右击Project -> Properties -> General -> Windows SDK Version, 选择 10.0.xxxxx
保存,问题解决。
参考:
c++ - Visual Studio 2017 can't find windows.h - Stack Overflow