IntelliSense: 无法打开 源 文件 "stdafx.h"
来源:互联网 发布:ariana mac 编辑:程序博客网 时间:2024/04/30 01:06
VS2010中包含以前的.h/.cpp文件于现在的工程中,用VS2013及以上版本,出现IntelliSense: 无法打开 源 文件 “stdafx.h”,搜寻到一些方法都不适用,比如:设置项目属性->配置属性->C/C++->预编译头->使用 (/Yu)/创建 (/Yc)/不使用预编译头三种方式都不行。
虽然提示这样的错误,但是运行程序是成功的,初始化和编译运行好像使用不同的查找路径,在低版本的VS2005/VS2008开发而在高版本VS2010中打开时会遇到这样的问题。其解决办法是:
项目属性->配置属性->C/C++->常规->附加包含目录->$(ProjectDir)
阅读全文
1 0
- IntelliSense: 无法打开 源 文件 "stdafx.h"
- IntelliSense: 无法打开 源 文件 "stdafx.h"
- IntelliSense: 无法打开 源 文件 "stdafx.h"
- IntelliSense: 无法打开 源 文件 "stdafx.h"
- vc++2010 中 IntelliSense: 无法打开 源 文件 "stdafx.h"
- vc++ 2010错误 IntelliSense: 无法打开 源 文件 "stdafx.h"
- VC++2010 中 IntelliSense: 无法打开 源 文件 "stdafx.h"
- Visual Studio 2010编译C++ 出现IntelliSense: 无法打开 源 文件 "stdafx.h"
- IntelliSense: cannot open source file "stdafx.h"[IntelliSense: 无法打开源文件 "stdafx.h"]
- IntelliSense: cannot open source file "stdafx.h"[IntelliSense: 无法打开源文件 "stdafx.h"]
- 项目里有stdafx.h但无法打开 源 文件 "stdafx.h"
- 无法打开 源 文件“stdafx.h”的解决方法
- IntelliSense: 无法打开 源 文件 "QtWidgets/QApplication"
- 无法打开源文件 "stdafx.h"
- 无法打开源文件“stdafx.h”
- VC++6.0无法打开#include "stdafx.h"文件
- 【C++】VS2010中无法打开包括文件:“stdafx.h”
- VS2013/2012 下无法打开 源 文件“stdafx.h”的解决方法
- jvm内存模型及类加载器
- lvs-tun 配置
- Extjs-入门
- 更改MySQL数据库目录位置具体操作
- 使用Mac终端svn命令从SAE检出代码
- IntelliSense: 无法打开 源 文件 "stdafx.h"
- 点击空白处隐藏
- 关于表单提交的细节
- scala笔记
- 集成的HTTP嗅探器HttpWatch更新至v11.0.19丨附下载
- MySql ibdata1文件太大如何缩小
- 定时器中断
- Android进入应用下载评分界面
- Office办公技巧:CAD转换jpg图片的方法分享