XCopy will not copy in visual studio

前端 未结 1 1148
时光取名叫无心
时光取名叫无心 2021-01-23 13:45

I\'ll copy a exe into another folder with a post build event from visual studio. This should happens every build. I haven\'t any errors, the exe output is in a custom folder, bu

相关标签:
1条回答
  • 2021-01-23 14:37

    It sounds like this xcopy bug. If so, a workaround is to append <NUL: to the end of the xcopy command, eg:

    xcopy "$(TargetDir)\*.exe" "$(SolutionDir)\bin\" /S /Y <NUL:
    
    0 讨论(0)
提交回复
热议问题