1.
这里已不能更改。
2、
修改位置:
C:UsersN3verL4ndAppDataLocalMicrosoftMSBuildv4.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:VLDinclude;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories></ClCompile><Link><AdditionalLibraryDirectories>G:VLDlibWin32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories></Link><Lib><AdditionalLibraryDirectories>G:VLDlibWin32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories></Lib></ItemDefinitionGroup> <ItemGroup/> </Project>
VLD安装包则是修改该文件,实现全局包含。
3、
这里修改也能达到全局修改的作用(本质上和2一样)