VSTS build Copy copies the full path to the destination

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.

Copy files task

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?

+7
source share
3 answers

, , , .

enter image description here

, , . , , :

  • .
+10

, BuildConfiguration, : Buildconfiguration screenshot

+1

=> flattenFolders: true Flatten Folders flattenFolders: true YAML.

, .

0

Source: https://habr.com/ru/post/1676787/


All Articles