title: Build .NET 1.1 in TFS 2010
body: <p>As per <a href="http://vstsguidance.codeplex.com/wikipage?title=How%20to%20build%20a%20Microsoft%C2%AE%20.NET%201.1%20application%20with%20Team%20Build" rel="nofollow">Microsoft Pattern &amp; Practice blog</a> its recommended to use MSBee.</p>
  
  <p>To build a .NET 1.1 applications with Team Build</p>
  
  <p>• Upgrade your .NET 1.1 solutions to .NET 2.0. You can do this by opening the solution in Visual Studio 2005 and running the Conversion Wizard, or by running devenv projectname /upgrade </p>
  
  <p>• Ensure that the .NET 1.1 Software Development Kit (SDK) is installed on your build server. </p>
  
  <p>• Download and install MSBuild Extras from <a href="http://www.codeplex.com/MSBee" rel="nofollow">http://www.codeplex.com/MSBee</a>  </p>
  
  <p>• Download BuildingFx11inTB.targets from <a href="http://blogs.msdn.com/gautamg/attachment/578915.ashx" rel="nofollow">http://blogs.msdn.com/gautamg/attachment/578915.ashx</a>  </p>
  
  <p>• Check out the build type from source control that will build your .NET 1.1 project. </p>
  
  <p>• Copy BuildingFx11inTB.targets to the directory containing the build type and check the file into source control. </p>
  
  <p>• Edit TFSBuild.proj file: </p>
  
  <p>• Import the BuildingFx11inTB.targets file: </p>
  
  <pre><code>&lt;Import Project="$(MSBuildProjectDirectory)\BuildingFx11inTB.targets" /&gt; 
  </code></pre>
  
  <p>•Add a property defining the CSharp targets: </p>
  
  <pre><code> &lt;PropertyGroup&gt;
      &lt;AdditionalPropertiesForBuildTarget&gt;
            CustomAfterMicrosoftCommonTargets=$(ProgramFiles)\MSBuild\MSBee\MSBuildExtras.Fx1_1.CSharp.targets
       &lt;/AdditionalPropertiesForBuildTarget&gt;  &lt;/PropertyGroup&gt;
  </code></pre>
  
  <p>•Check TFSBuild.proj into source control. </p>
  
  <p>But this will not work in TFS 2010 as there is no more TFSBuild.proj file. If MSBee is not possible and thru command line only .net 1.1 outputs need to be generated then how can we generate the .NET 1.1 complained output from VS 2010 IDE. It seems we need to specifically target VS 2003 MSBuild to generate 1.1 outputs.</p>
  
  <p>Thanks,</p>