Team Build API
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
Creating a Project
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: ...
Get Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.