Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Visual Studio 2012 中编写构建后事件。我不知道如何编写宏来执行构建后事件。我的简单要求是,我只想运行一个 .exe 文件,该文件在成功构建操作后放置在文件夹中。所以请指导我如何实现这一目标。
我建议你这个代码
Set shell = CreateObject("WScript.Shell") shell.Run "C:\YourProgram.exe"
注意:您可以调整路径