IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    VS2010 express中改变VC Default include/lib/… 目录

    金庆发表于 2015-02-22 02:08:00
    love 0

    转自: Liz's Blog http://www.cnblogs.com/lizmy/archive/2012/01/10/2318258.html

    2010中是以工程为单位,更改VC++ directories。每个工程都修改一便很是繁琐,因此想修改下默认VC目录。

    从网上查了下,主流的方法是:

    View-> Other windows –> Property Manager

    image


    image

    公共静态库的设置

    image

    但对于 express 版本,没有Property manager窗口,因此修改这份文件:

    Win7下: C:\Users\\AppData\Local\Microsoft\MSBuild\v4.0

    32位版本: Microsoft.Cpp.Win32.user.props

    64位版本: Microsoft.Cpp.x64.user.props

    默认:

        
    修改为:
              $(ExecutablePath)     D:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include;$(IncludePath)     $(ReferencePath)     D:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib;$(LibraryPath)     $(SourcePath)     $(ExcludePath)    

    修改Linker –> Input –> Addition Dependencies



    金庆 2015-02-22 10:08 发表评论


沪ICP备19023445号-2号
友情链接