VS2015报错IntelliSense: cannot open source file "stdafx.h"[IntelliSense: 无法打开源文件 "stdafx.h"],图解步骤

现象:
在这里插入图片描述
解决方法: 项目属性 -> 配置属性 -> C/C++ -> 常规 -> 附加包含目录中增加:$(ProjectDir)
在这里插入图片描述
在这里插入图片描述

发布了10 篇原创文章 · 获赞 5 · 访问量 412

猜你喜欢

转载自blog.csdn.net/weixin_40162095/article/details/104463318