title: Copy app.publish folder in VSTS Build/Release
body: <p>Similar to the question here: <a href="https://stackoverflow.com/questions/34587282/copy-one-file-in-target-directory-on-deploy-from-visual-studio-online">Copy one file in target directory on deploy from visual studio team services</a>, I am trying to copy the contents of the app.publish directory of a ClickOnce application via VSTS build/release.</p>
  
  <p><strong>This is the Copy Publish Artifact step of the Build</strong>
  <a href="https://i.stack.imgur.com/ErLtx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ErLtx.png" alt="Copy Publish Artifact Step"></a></p>
  
  <p>This obviously outputs everything in the bin folder to the drop folder on the server share. </p>
  
  <p><strong>This is the Copy Files step of the Release</strong>
  <a href="https://i.stack.imgur.com/OqLN5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OqLN5.png" alt="Copy Files Step"></a></p>
  
  <p>This copies only the files in the app.publish folder but it builds out the entire hierarchy to the folder app.publish folder; however, it builds out the full folder structure. i.e. bin\Release\app.publish or bin\Debug\app.publish. </p>
  
  <p>I like the idea of being able to publish and store different configurations (debug/release) but I don't like that I'm having to specify the InstallUrl in the msbuild arguments in order to pick up debug/release in the folder path. Even if I didn't try to maintain multiple configurations, the configuration would still be in the path. </p>
  
  <p>So my question is: Is there a way to use the copy files task to just copy the app.publish folder and/or the contents to another location, without it creating the full hierarchy?</p>