【发布时间】:2013-06-08 05:00:47
【问题描述】:
Macros for Build Commands and Properties 像 $(SolutionDir) 和 $(ProjectDir) 可以作为 Arguments for External Tools 使用。
Shell Command 和 Command Tool Window 是否可以使用相同的宏?
现在我可以求助于使用环境变量,如果我忘记在 Visual Studio 启动之前设置它,我可以远程注入它。 Dynamically Add/Edit Environment Variables of Remote Process
Tools.Shell /c tfpt.exe 审查%SOLUTIONDIR%
是否有命令工具窗口的语法允许我访问构建宏?!
这种语法是否以某种方式逃避了 Visual Studio 团队的设计考虑?
Tools.Shell /c tfpt.exe 审查 $(SolutionDir)
请发送任何已知有效的语法,包括 Visual Studio 的版本。
如果Microsoft Connect 上已经有一张为此打开的票,我也会接受它作为答案。
请不要回答暗示有许多托管 Powershell、Python 或其他工具的 Visual Studio 可选插件。
【问题讨论】:
标签: visual-studio