Visual Studio的构建事件立即返回 [英] Visual Studio Build Event Immediately Return
问题描述
我有几分长期运行生成后事件(足够长的时间是恼人的等待,但足够每个版本编译后得到成品短),我想立即返回VS.我试图用运行批处理文件启动
,但视觉工作室还在等待 CMD
窗口返回成功之前关闭
I have a somewhat long-running post-build event (long enough to be annoying to wait for but short enough to be finished after each release compilation) that I want to return immediately to VS. I've tried to run batch files with start
but visual studio still waits for the cmd
window to close before returning success.
有没有办法立即返回成功产卵此生成后事件时?
Is there a way to immediately return success when spawning this post-build event?
感谢。
推荐答案
<一个href=\"http://stackoverflow.com/questions/1768358/how-to-create-an-asynchronous-build-event-in-visual-studio-2008\">This问题似乎认为还有一个办法:
This question seems to think that there is a way:
powershell start-process <actual-command-line-to-run>
还没虽然测试它自己。
Haven't tested it myself though.
这篇关于Visual Studio的构建事件立即返回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!