I am trying to copy all my output files from the solution target directory to the shared bin folder, but for some reason the files are not copied. For some reason, some very simple post-build command doesn't work for me.
xcopy "$(TargetDir).*" "$(SolutionDir)..\..\..\bin" /Y/I
Here is my directory tree:
- Development
- bin
- Clients
- Interface
- Services
- bin
- Debug
- Release
- Host
- bin
I need to copy the output from the Service Folders → bin → Debug or Release to the Development → bin folder after any successful build. I tried various combinations of ".." and no one works.
source
share