I have a project with a post build event:
copy $(ProjectDir)DbVerse\\Lunaverse.DbVerse.*.exe $(TargetDir)
It works fine every time on my m
In my case I had to cd (change directory) before calling the bat file, because inside the bat file was a copy operation that specified relative paths.
cd
:: Copy file cd "$(ProjectDir)files\build_scripts\" call "copy.bat"