dp2Installer 项目需要 dp2Library 和 dp2Kernel dp2OPAC 项目预先 Build 好,才能压缩好几个 .zip 文件,然后才能 Build。
Visual Studio 2010: How to enforce build order of projects in a solution?
pre-build 事件配置中的一些小问题:
http://stackoverflow.com/questions/4714974/problem-executing-batch-file-in-pre-build-event
Problem Executing Batch File in Pre-Build Event
...
the CD to the batch file's directory is what fixes it here for me...when I directly call 'c:\mydirectory\mybatch.bat' it doesn't work, but a cd to 'c:\mydirectory' and then a call to 'mybatch.bat' does work..