【C++系列】VC++ Directories editing in Tools>Options has been deprecated解决方法

(原2013年11月28日文章,博客解封后重新发出)

背景

    因需要C++与lua配合使用,在VS2012中配置VC++全局环境变量时,出现"VC++ Directories editing in Tools>Options has been deprecated".

    如图所示:

官方解答

  1. Open up property manager by clicking on View.Property Manager.
  2. Expand the project node and then the Configuration|Platform nodes, you will see "Microsoft.cpp.<Platform>.users" file for each Configuration|Platform. These are the files for the global settings, similar to the old tools/Options/VC++ Directories.
  3. Multi-Select "Microsoft.cpp.<Platform>.users", right click and bring up the property page window.
  4. In the property page window, click on "VC++ Directories" (for example) in the left pane, add new paths for the directories such as "Include Directories". separated by semicolons.
  5. Make sure to save the settings before shutting down Visual Studio.
  6. Re-launch Visual Studio and the new settings will be in effect.

解释

      英文较简单,一目了然。

      就个人的设置步骤稍作描述:

  1. 打开任一项目;通过view->Property Manager,打开Property Manager界面;
  2. 打开Property Manager下所有子节点;
  3. 选择Debug|WIin32,打开其子节点;
  4. 选择Microsoft.Cpp.Win32.user,双击之

如果所示:

根据提示输入相关路径即可。

        注意保存设置。

        重新打开VS即可。

   

 

 

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值