Team Foundation Build

Customizable. Cross Platform.

We've built a brand new scriptable build system that's web-based and cross-platform. We believe all new and most existing customers should use it instead of the XAML build system. Tell me more.

Build agents

You need at least one agent to build your code.

Build apps for Windows or Azure

Build Java projects

Build Xcode apps for iOS

Build your GitHub-hosted projects in Visual Studio Online

Customize your build process using a script

Build steps

Q&A

Can I use this new build system in production?

Yes! We'd love for you to try it out and let us know what you think. Please submit bugs through Connect, suggestions on UserVoice and quick thoughts via Send-a-Smile in the Visual Studio IDE.

Which builds should I use?

If you are new to Team Foundation Server (TFS) and Visual Studio Online, you should use this new system. Most customers with experience using TFS and XAML builds will also get better outcomes by using the new system.

The new builds are web- and script-based, and highly customizable. They leave behind many of the problems and limitations of the XAML builds. For example, this new system embraces the diverse set of domain-specific languages (DSLs) that developers used to build the code on their dev machines. We expect this will reduce the chances of running into the "builds fine on my machine but not on the CI server" problem. For more details, see Overview of Team Foundation Build 2015.

In a few cases you might need to continue using XAML builds:

  • If you use Team Foundation Version Control (TFVC) (not Git):

    • Gated builds are not yet available.

    • Complex workspace mappings are not supported.

  • If you have heavily customized XAML builds and custom activities, you can continue using those builds until you are ready to port your business logic into scripts that can run in the new builds.

See Overview.

How are these new builds related to the old XAML builds?

The new builds are based on a different architecture and run on a completely different system.

What happens to my XAML builds? Can I keep using them?

You can use both the new builds and agents alongside your XAML builds, controllers, and agents.

Where is the guidance about the XAML builds?

MSDN: Build the application

Can I extend the build tasks? Are they open source?

Yes: Microsoft vso-agent-tasks.