TFS 2015 Publish Build Artifacts in one directory
<p>We have just upgraded from <code>TFS 2010</code> to <code>TFS 2015</code> and I'm recreating a XAML-Build-Definition in the "vNext" build/workflow-format.</p>

<p>In the old Build it was possible to output all files (the DLLs) flat in one single directory, without their original directory structure.</p>

<p>Is this still possible with the new TFS 2015 Build framework?</p>

<p>I have the following <code>Publish Build Artifact</code>-Settings:</p>

<p><code>Artifact Type: File Share</code></p>

<p><code>Path: \\server\tfslib\$(Build.DefinitionName)\$(Build.DefinitionName)_$(Build.BuildNumber)</code> </p>

<p>The problem is that the original solution directory structure is preserved in the output directory specified in <code>Path</code>. How can I get the output without the whole subtree?</p>

<p>As a workaround I'm currently doing this with a Powershell step after the <code>Publish Build Artifact</code> but it would be nice to do this during the publishing process itself.</p>