title: How to make build definition in TFS Build 2010 configurable w.r.t input variable values and "items to build"
body: <p>We are using TFS Build 2010 for Builds. We have two branches of source code (Lets say branchA and branchB).</p>
  
  <p>Now as a part of the build definition we set the projects to build:
  <img src="https://i.stack.imgur.com/W6dLb.jpg" alt="alt text"></p>
  
  <p>Now to employ the same build definition from branchB will mean that I create another build definition file with same content, with only the items to build set to "$/branchB"</p>
  
  <p>Is there anyway to make this configurable, without having to edit the build definition? </p>
  
  <p>Also there are other input variables that we set for the build definition, and the values for these variables are included in the build definition XAML file. So to change the value of a variable will mean that we have to edit the build definition XAML file. This is not desirable. </p>
  
  <p>I would like to be able to set the "Items to Build" and the variables of the build definition without having to modify the build definition XAML file.</p>
  
  <p>Are there any solutions to these problems?</p>