Visual Studio post build events stuck waiting for executable to finish before running app in debug mode

后端 未结 7 1825
猫巷女王i
猫巷女王i 2020-12-28 15:36

Part of the post build on my project is the execution of a program I wrote for testing the main application. Unfortunately, the post build process in visual studio locks up

7条回答
  •  借酒劲吻你
    2020-12-28 15:55

    Wow, seems VS is really stubborn about this.

    You can use this little tool that can launch apps without showing cmd windows (among other things). In your post build event:

    c:\path\to\cmdow /run app.exe
    

提交回复
热议问题