I use the Copy Files task in the VSTS assembly to copy the results of the VS project (folder bin\Release) to a subfolder in the staging directory.

I expect the contents of the folder binshould be in the folder staging\bin:
drop\bin\
but instead, it copies the full path to the destination. So my binaries are all in
drop\bin\src\MySolution\MyProject\bin\Release\
Is there a way to copy only files from my release folder to an intermediate folder without copying the full path?
source
share