title: TFS build, one build for many branches
body: <p>We use TFS source control and have two build controllers (one VS2010 the other VS2012). We use the default build workflow template bar a few custom changes. </p>
  
  <p>As we have many branches, how would we go about changing the workspace based on the desired branch?</p>
  
  <p>I was thinking of adding a parameter for the branch (<code>$\oursourcecontrol\branches\main</code>) and then just passing it as a variable in to the get workspace part of the workflow.</p>
  
  <p>Or is there a better way of doing it?</p>