VS2010 项目属性的默认包含路径设置方法
2015-07-01 14:50
585 查看
有两种方法可以设置vs2010的默认包含路径
方法一:
点击“视图->属性管理器”,在打开的属性管理器中选择Microsoft.Cpp.Win32.user打开
打开后将出现如下图所示:
这时候就可以设置默认目录了。
方法二:
打开 C:\Users\Administrator\AppData\Local\Microsoft\MSBuild\v4.0目录中的 Microsoft.Cpp.Win32.user.props 文件,里面内容一般如下
[html] view
plaincopy
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ExecutablePath>$(ExecutablePath)</ExecutablePath>
<IncludePath>$(IncludePath)</IncludePath>
<ReferencePath>$(ReferencePath)</ReferencePath>
<LibraryPath>$(LibraryPath)</LibraryPath>
<SourcePath>$(SourcePath)</SourcePath>
<ExcludePath>$(ExcludePath)</ExcludePath>
</PropertyGroup>
</Project>
分别在<PropertyGroup> 的<IncludePath>增添加包含目录,在<LibraryPath>项中添加库目录,保存重启VS即可。
来源:http://blog.csdn.net/superbfly/article/details/18075915
方法一:
点击“视图->属性管理器”,在打开的属性管理器中选择Microsoft.Cpp.Win32.user打开
打开后将出现如下图所示:
这时候就可以设置默认目录了。
方法二:
打开 C:\Users\Administrator\AppData\Local\Microsoft\MSBuild\v4.0目录中的 Microsoft.Cpp.Win32.user.props 文件,里面内容一般如下
[html] view
plaincopy
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ExecutablePath>$(ExecutablePath)</ExecutablePath>
<IncludePath>$(IncludePath)</IncludePath>
<ReferencePath>$(ReferencePath)</ReferencePath>
<LibraryPath>$(LibraryPath)</LibraryPath>
<SourcePath>$(SourcePath)</SourcePath>
<ExcludePath>$(ExcludePath)</ExcludePath>
</PropertyGroup>
</Project>
分别在<PropertyGroup> 的<IncludePath>增添加包含目录,在<LibraryPath>项中添加库目录,保存重启VS即可。
来源:http://blog.csdn.net/superbfly/article/details/18075915
相关文章推荐
- RMAN兼容性列表
- 什么是PEAR?什么是PECL?PHP中两个容易混淆的概念解释
- Android学习笔记--Animation
- MYSQL 添加普通索引的2种方式
- JS的构造函数
- TimesTen 常见问题答疑(科普篇)
- Cloudera Manager5问题之NTP问题
- 正则表达式里字符串”不包含”匹配技巧
- js面向对象
- cocos2dx环境配置和打包
- sdio/sd/mmc architecture
- JS判断浏览器是否为IE
- Linux目录树
- JAVA字符串的优化
- LintCode 二叉树的遍历 (非递归)
- Java Exception
- Oracle sqlplus中不能上下键选择前一条命令解决方法
- android 查看android.keystore信息
- SVN服务器搭建和使用(一)
- TCP连接建立过程中为什么需要“三次握手”