Team Build provides a rich application programming interface (API) that allows you to query and manage the build server, build agents, build definitions, and individual builds. There are a number of scenarios where the API is useful:
Automating administration tasks
Integrating Team Build into other processes
Extending the build process beyond MSBuild
The first step is to create a project that references the required assemblies. In this example, we’ll create a new Console Application called TeamBuildAPI as shown in Figure 11-3:
Figure 11-3. New Project dialog box
Using the Team Build API requires at least three references: ...