title: MSBuild passing parameters to CallTarget
body: <p>I'm trying to make a reusable target in my MSBuild file so I can call it multiple times with different parameters.</p>
  
  <p>I've got a skeleton like this:</p>
  
  <pre><code>&lt;Target Name="Deploy"&gt;
      &lt;!-- Deploy to a different location depending on parameters --&gt;
  &lt;/Target&gt;
  
  &lt;Target Name="DoDeployments"&gt;
      &lt;CallTarget Targets="Deploy"&gt;
          &lt;!-- Somehow indicate I want to deploy to dev --&gt;
      &lt;/CallTarget&gt;
  
      &lt;CallTarget Targets="Deploy"&gt;
          &lt;!-- Somehow indicate I want to deploy to testing --&gt;
      &lt;/CallTarget&gt;
  &lt;/Target&gt;
  </code></pre>
  
  <p>But I can't work out how to allow parameters to be passed into the <code>CallTarget</code>, and then in turn the <code>Target</code> itself.</p>