是否有Visual Studio环境变量的列表? [英] Is there a list of Visual Studio environment variables?
问题描述
可能重复:
链接到所有Visual Studio $变量
Possible Duplicate:
Link to all Visual Studio $ variables
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中有一个列表.
I just checked. There's a list in MSDN.
这篇关于是否有Visual Studio环境变量的列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!