• 修改 VS2013 项目属性的默认包含路径(全局)


    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一样)

    Keep it simple!
    作者:N3verL4nd
    知识共享,欢迎转载。
  • 相关阅读:
    IO流
    泛型类
    自动打包&解包:auto-boxing&unboxing
    Map接口
    如何选择数据结构
    Compareable接口
    List常用算法
    equals和==
    List接口
    set接口
  • 原文地址:https://www.cnblogs.com/lgh1992314/p/6616377.html
Copyright © 2020-2023  润新知