修改 VS2013 项目属性的默认包含路径(全局)
1.
这里已不能更改。
2、
修改位置:
C:\Users\N3verL4nd\AppData\Local\Microsoft\MSBuild\v4.0
Microsoft.Cpp.Win32.user.props,找不到的可以使用Everything索引
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ImportGroup Label="PropertySheets"> </ImportGroup> <PropertyGroup Label="UserMacros"/> <PropertyGroup/> <ItemDefinitionGroup> <PostBuildEvent> <Command>copy $(CodeAnalysisInputAssembly) $(MSBuildProjectDirectory)</Command> </PostBuildEvent> <ClCompile><AdditionalIncludeDirectories>G:\VLD\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories></ClCompile><Link><AdditionalLibraryDirectories>G:\VLD\lib\Win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories></Link><Lib><AdditionalLibraryDirectories>G:\VLD\lib\Win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories></Lib></ItemDefinitionGroup> <ItemGroup/> </Project>
VLD安装包则是修改该文件,实现全局包含。
3、
这里修改也能达到全局修改的作用(本质上和2一样)
Keep it simple!