I have a project with a post build event:
copy $(ProjectDir)DbVerse\\Lunaverse.DbVerse.*.exe $(TargetDir)
It works fine every time on my m
I had a similar issue but specifically in a Jenkins build environment. To fix the issue, I switched from using a copy command in the post build event to using a copy target.
I changed this:
copy $(ProjectDir)bin\BLAH.Common.xml $(ProjectDir)App_Data\BLAH.Common.xml
to this:
and it works fine now.
The specific error I was getting was:
(PostBuildEvent target) ->
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(4291,5): error MSB3073: The command "copy exited with code 1. [