title: TFS 2015 one build for all branches
body: <p>We have lots of feature branches, and we don't want to manually create a build definition for each of them for continuous integration.</p>
  
  <p>Is it possible to create one build definition in TFS Build 2015 that will build solution from the branch when code is checked in to it? We are using TFVC for source control. </p>
  
  <p>Preferably, only the active branches should be downloaded to the build agent, as we have a lot of old branches that don't get any check-ins.</p>
  
  <p>There is a similar question about old TFS Build system, but since build system was completely changed in TFS 2015, the answer would be different too - <a href="https://stackoverflow.com/questions/23931775/tfs-build-one-build-for-many-branches">TFS build, one build for many branches</a>  </p>