宏 - 在事后建立事件后执行.exe [英] Macro- Execute .exe after Post-Built Event
本文介绍了宏 - 在事后建立事件后执行.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在visual studio 2012中编写Post-build事件,我不知道如何编写宏来执行post built事件。
我的简单要求是,我只想运行一个.exe文件,该文件在成功构建操作后放在一个文件夹中。
所以请指导我如何实现这个目标。
提前谢谢。
解决方案
http://msdn.microsoft.com/en- us / library / 42x5kfw4%28v = vs.80%29.aspx [ ^ ]此链接应有帮助。
您甚至可能不需要宏。你或许可以这样做:
调用C:\ MyFile.bat
这是本文的一个例子。
Hi,
I want to write Post-build event in visual studio 2012 and I don''t know how to write Macros to execute post built events.
My simple requirement is, I just want to run an .exe file which is placed in a folder after successful built operation.
So please guide me how to achieve this.
Thanks in advance.
解决方案
http://msdn.microsoft.com/en-us/library/42x5kfw4%28v=vs.80%29.aspx[^] This link should help.
You may not even need a macro. You might be able to just do:
call C:\MyFile.bat
which is an example in the article.
这篇关于宏 - 在事后建立事件后执行.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文