如何修改Visual Studio 2015预定义的宏? [英] How do I modify Visual Studio 2015 predefined macros?

查看:831
本文介绍了如何修改Visual Studio 2015预定义的宏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Visual Studio 2015中修改预定义的环境宏。具体来说: VC_IncludePath

I'm trying to modify a predefined environment macros in Visual Studio 2015. Specifically this: VC_IncludePath

我可以看到它及其值,但是无法对其进行修改。我看不到这样做的选项。

I can see it and its value, but I can not modify it. I don't see the option to do it.

推荐答案

您可以编辑以下文件:


C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Common.props

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Common.props

这篇关于如何修改Visual Studio 2015预定义的宏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆