简体   繁体   English

进行设置时处理预构建和后构建事件的最佳方法

[英]best way to handle prebuild and post build events while making a setup

hi i have many prebuild and postbuild events in different projects. 嗨,我在不同的项目中有很多预构建和后构建事件。

i want to write these events in a single batch file and then call this script in the main project please tell me this is the correct way or any other best way of handlling these events while making a setup 我想在单个批处理文件中写入这些事件,然后在主项目中调用此脚本,请告诉我这是进行设置时处理这些事件的正确方法或任何其他最佳方法

thanks 谢谢

please tell me how to handle prebuild and postbuild events in different projects with in the same soluntion from msbuild. 请告诉我如何使用msbuild中的相同解决方案处理不同项目中的prebuild和postbuild事件。

thanks 谢谢

Nant和/或MSBuild之类的东西将成为此处的解决方案,由于内置的​​错误处理,日志记录等功能,它比批处理文件更强大。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM