26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• For more information about building Web Deployment Projects, see “<strong>Visual</strong> <strong>Studio</strong><br />

2005 Web Deployment Projects” at http://msdn2.microsoft.com/enus/asp.net/aa336619.aspx<br />

How to Build a .NET 1.1 Application <strong>with</strong> <strong>Team</strong> Build<br />

Because .NET 1.1 is not directly supported by MSBuild, it is not supported by <strong>Team</strong><br />

Build. Microsoft has released a project on CodePlex named MSBuild Extras (MSBee)<br />

that supports building .NET 1.1 applications.<br />

In order to build your .NET 1.1 applications, you need to upgrade your project file to a<br />

.NET 2.0 project file. You will also need to edit the <strong>Team</strong> Build project file so that it<br />

builds using the .NET 1.1 tools rather than the .NET 2.0 tools.<br />

To build a .NET 1.1 applications <strong>with</strong> <strong>Team</strong> Build<br />

1. Upgrade your .NET 1.1 solutions to .NET 2.0. You can do this by opening the<br />

solution in <strong>Visual</strong> <strong>Studio</strong> 2005 and running the Conversion Wizard, or by running<br />

devenv [projectname] /upgrade<br />

2. Ensure that the .NET 1.1 Software <strong>Development</strong> Kit (SDK) is installed on your build<br />

server.<br />

3. Download and install MSBuild Extras from http://www.codeplex.com/MSBee<br />

4. Download BuildingFx11inTB.targets from<br />

http://blogs.msdn.com/gautamg/attachment/578915.ashx<br />

5. Check out the build type from source control that will build your .NET 1.1 project.<br />

6. Copy BuildingFx11inTB.targets to the directory containing the build type and check<br />

the file into source control.<br />

7. Edit TFSBuild.proj file:<br />

a. Import the BuildingFx11inTB.targets file:<br />

<br />

b. Add a property defining the CSharp targets:<br />

<br />

CustomAfterMicrosoftCommonTarget<br />

s=$(ProgramFiles)\MSBuild\MSBee\MSBuildExtras.Fx1_1.CSharp.targets<br />

<br />

8. Check TFSBuild.proj into source control.<br />

Additional Resources<br />

• For more information about MSBuild Extras, see “MSBuild Extras - Toolkit for .NET<br />

1.1 "MSBee” at http://www.codeplex.com/MSBee

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!