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

后端 未结 7 1807
猫巷女王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 16:02

    I spent a considerable amount of time trying to figure this out. What you need to do is place "cmd" as the first line of your post-build event.

    An example might look like this:

    cmd
    xcopy /Y $(ProjectDir)$(OutputDir)* C:\SomePath\*
    
    0 讨论(0)
提交回复
热议问题