Define your process

Last Update: 12/12/2016

Team Services | TFS 2017 | TFS 2015 | Previous versions (XAML builds)

Build tab

Select a template

If a template is relevant to your scenario, select it to automatically add some steps and apply typical settings. For example, if you create a new Visual Studio build, you automatically get steps to compile and test, along with other steps and settings you typically need to build a .NET app.

Start with an empty definition

If there's no template for your scenario, select Empty and then add the build steps you need.

Replicate a definition

If your definition has a pattern that you want to replicate in other definitions, clone it or create a template.

Clone or save as a template

Clone a definition

After you clone a definition, the copy appears in your list of builds.

Cloned build definition

Create a template

After you create a template, your team members can use it to follow the pattern in new definitions.

Create a build definition from a template

Save a draft

To test some changes that are not yet ready for production, save a draft.

Save as a draft

When you're ready you can publish and keep the changes or delete them.

Save as a draft

Queue a build

You can queue builds automatically or manually.

When you manually queue a build, you can, for a single run of the build:


Where can I learn step-by-step how to build my app?

Build your app

How do I programatically create a build definition?

REST API Reference: Create a build definition

Do I need a build agent?

You need at least one agent to run your build. Get an agent.

I can't select a default agent queue and I can't queue my build. How do I fix this?

See Administer queues.

I use Team Foundation Server on-premises and I don't see some of these features. Why not?

Some of these features are available only on Visual Studio Team Services and not yet available on-premises. Some features are available on-premises if you have upgraded to the latest version of TFS.

Where is the Visual Studio 2013 XAML build documentation?

Visual Studio 2013 XAML build documentation