title: Why does MSBuild not execute multiple targets?
body: <p>I have set up multiple targets in a single xml file.  I expect all targets to run but only the frist target gets executed.</p>
  
  <p>Here is a simplified version of what iam trying to do:</p>
  
  <pre><code>&lt;Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    &lt;Target Name="T1"&gt;
      &lt;Copy SourceFiles="c:\temp\a.txt" DestinationFolder="C:\temp2\" /&gt;    
    &lt;/Target&gt;
    &lt;Target Name="T2"&gt;
      &lt;Copy SourceFiles="c:\temp\b.txt" DestinationFolder="C:\temp2\" /&gt;    
    &lt;/Target&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p>I'am running the build from the TeamCity CI Server and the logs reports Process exit code: 0.</p>
  
  <p>Anyone got any ideas why it does not run T2?  </p>