Visual Studio: Multiple post-build commands?

后端 未结 10 1235
逝去的感伤
逝去的感伤 2020-12-13 16:47

Visual Studio 2008 lets me declare a command and attach it to the post-build event for a project. Like a lot of developers, I use it regularly to xcopy files to the applicat

10条回答
  •  时光取名叫无心
    2020-12-13 17:16

    Important: When executing a batch file, you must use the "call" statement on order the following lines to be executed. If you don´t use "call", the execution goes into the .bat and doesn´t return to the following lines. Same as on DOS prompt.

    e.g.:

    call MyBatch1.bat
    call MyBatch2.bat
    

提交回复
热议问题