是否有 Visual Studio 环境变量列表? [英] Is there a list of Visual Studio environment variables?

查看:24
本文介绍了是否有 Visual Studio 环境变量列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
链接到所有 Visual Studio $ 变量

Visual Studio 有很多环境变量,例如 $(TargetFileName),但我似乎无法在 MSDN 或 Google 上找到所有这些变量的列表.

Visual Studio has a lot of environment variables like $(TargetFileName) but I can't seem to find a list of all of them on MSDN or via Google.

这样的列表存在吗?

注意:有关 MSDN 上列表的链接,请参阅重复问题的顶部答案(上面的链接).

NOTE: See the top answer for the duplicate question (link above) for a link to a list on MSDN.

推荐答案

在大多数可以使用它们的地方,都有一个宏"按钮或类似按钮,它显示所有可用的宏及其当前值.例如,转到 PostBuild 事件编辑器以查找列表.

In most places where you can use those, there's a "Macros" button or similar, which shows all available macros and the current value of them. For example, go to the PostBuild event editor to find the list.

我刚刚检查过.MSDN 中有一个列表.

这篇关于是否有 Visual Studio 环境变量列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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