How do I fix MSB3073 error in my post-build event?

后端 未结 14 2571
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-05 04:48

I\'m working on a project that requires that DLLs generated by building my solution to be copied from the bin folder to another folder, both of which are on my machine, in m

14条回答
  •  一生所求
    2020-12-05 05:06

    Playing around with different project properties, I found that the project build order was the problem. The project that generated the files I wanted to copy was built second, but the project that was running the batch file as a post-build event was built first, so I simply attached the build event to the second project instead, and it works just fine. Thanks for your help, everyone, though.

提交回复
热议问题