title: TFS Build - get source code by label issues
body: <p>I have an issue that I want to share with you and ask for advice.</p>
  
  <p>Let's say I have a project in TFS with a source code folders and folder with deployment scripts. Folders structure:</p>
  
  <p>-- TFS</p>
  
  <p>---- PROJECT</p>
  
  <p>--------DEPLOYMENTSCRIPTS</p>
  
  <p>--------SOURCE</p>
  
  <p><em>DeploymentScripts</em> folder is a container for custom deployment scripts that are being executed by TFS Build process.</p>
  
  <p><em>Source</em> - is a folder with a source code where for each new release I create a label to use it later for deployment.</p>
  
  <p>I have a build definition configured to takes files from both folders, so I expect that TFS will download the content of both folders each time I trigger a build:</p>
  
  <p><img src="https://i.stack.imgur.com/OEcmL.png" alt="build definition - source settings"></p>
  
  <p>And this perfectly works when TFS build takes the latest version: it takes everything, builds and deploys. </p>
  
  <p>The issue appears once I configure what label to take:</p>
  
  <p><img src="https://i.stack.imgur.com/AM949.png" alt="build definition - label"></p>
  
  <p>TFS downloads <strong>only</strong> the content of <em>Source</em> folder <strong>ignoring</strong> <em>DeploymentScripts</em>. I suppose that this happens because we use labels only for <em>Source</em> folder and not in <em>DeploymetScripts</em> (the content of this folder is static, there are no any changes). I know, that if I make <em>DeploymentScripts</em> a sub-folder of <em>Sources</em> that will fix my issue, but I want to keep it separate (for example, if I later create a bunch of branch folders I don't want to copy deployment to each specific folder, I want to have as a one instance) and try to find a solution for this case.</p>