Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build

Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build
Published:January 07, 2009Language:English
Author:Sayed Ibrahim Hashimi; William BartholomewTechnology:Microsoft Visual Studio 2008
Length:432 PagesISBN 13:9780735626287

List Price:

$ 49.99
About The BookTake build out of its black box—and control every step of the build process

As software complexity increases, proper build practices become ever more important. This essential reference drills inside MSBuild—and shows how to maximize your control over the build and deployment process. Learn how to customize and extend build processes with MSBuild—and scale them to the team, product, or enterprise level with Team Foundation Build.

Discover how to:

  • Create and modify MSBuild files—outside the Visual Studio IDE

  • Use XML-based syntax to declare dynamic properties and items

  • Apply built-in tasks or write your own

  • Customize the build process—adding code generation, unit testing, or code analysis

  • Use batching and incremental builds to reduce build times

  • Invoke external tools in scripts and create reusable files

  • Start and stop services

  • Set assembly versions and extend the clean process

  • Configure, customize, and extend Team Build—and automate build from end to end

  • Welcome to the companion content page for Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build, which has content and links related to this book. For additional information, see the book's Introduction.
    Code SamplesDownload the Code Samples (6.03 MB)
    System Requirements
    You'll need the following hardware and software to build and run the code samples for this book:
    • .NET 3.5 Framework
    • Visual Studio 2008 Express Edition or greater
    • 50 MB of available space on the installation drive
    For Team Build chapters:
    • Visual Studio 2008 Professional with Team Foundation Client 2008
    • Some functionality (such as Code Analysis) requires Visual Studio Team System 2008 for Software Developers
    • Some functionality (such as Web and Load Tests) requires Visual Studio Team System 2008 for Testers
    • Access to a server running Team Foundation Server 2008
    • Access to a build machine running Team Foundation Build 2008 (Chapter 10 walks you through installing this)
    • A trial Virtual PC with Visual Studio Team System 2008 Team Suite, Team Foundation Server, and Team Foundation Build is available from
    Installing The Code SamplesAfter you download the code samples file to your computer, run the installer and follow the instructions that appear.
    Uninstalling The Code SamplesTo remove the code samples from your computer, make the appropriate selection from Add Or Remove Programs in the Control Panel.
    Support InformationEvery effort has been made to ensure the accuracy of the book and the companion content. As corrections or changes are collected, they will be added to a Microsoft Knowledge Base article. You can find Knowledge Base articles and other support options at the following location: Microsoft Press Book and CD Support Web Site.
    About Sayed Ibrahim Hashimi; William BartholomewSayed Ibrahim Hashimi is a consultant, trainer, and senior software developer who has designed large-scale, distributed applications using a variety of programming languages and platforms, including Microsoft .NET, C++, and Java. This is his second book on MSBuild. William Bartholomew is a software engineer, vice president of the Australia-based Visual Studio Team System (VSTS) User Group, and a developer productivity specialist who focuses on education, processes, and tools for developers and VSTS.
    Other Books By Sayed HashimiOther Books By William Bartholomew
    Looking for training resources, events and advice from peers? Join the Microsoft Training and Certification Community. Preparing for an exam now? Find your Microsoft Certification Study Group. Talk to us on these social networks:
    What do you think of this book? Your feedback is important in helping us create books that serve your needs and meet your expectations.Please take our survey at

    Note: You will need this book's 13-digit International Standard Book Number (ISBN) to take the survey.The ISBN 13 can be found above.
    To report or search for corrections in this book or its companion content,
    search for the title in our online store and then check the Errata & Updates tab. To report errors, please go to our Submit errata page.