title: Excluding files/folders from VSTS publish
body: <p>We are using the new VSO/VSTS style build within TFS on premise, 2015 Update 1 as of yesterday.</p>
  
  <p>During the publish build artifacts stage we want to copy all the files/folders from a root bar 2 sub folders.</p>
  
  <p>ie:</p>
  
  <pre><code>$\somefilestopublish1\...
  $\somefilestopublish2\...
  $\somefilestoexclude1\...
  $\somefilestoexclude2\...
  </code></pre>
  
  <p>Currently I have <code>**\*</code> as the contents argument which obviously will publish everything.  I have tried appending <code>;-:&lt;exclude_pattern&gt;</code> as suggested by a Google search but that just stopped all output and resulted in an empty folder.</p>
  
  <p>Is there a way to use the minimatch expression to exclude folders or will I need to swap to explicitly selecting the folders to publish instead.</p>