Chapter 6. Batching and Incremental Builds

Batching and incremental building are two very important yet potentially confusing topics. In this chapter, we will describe these two topics in great detail. Batching, at a high level, allows you to repeatedly perform an action over a set of inputs. Incremental building is a process that enables MSBuild to determine when target outputs are already up to date and can be skipped. These two topics are advanced and closely related to each other. After you read this chapter you will be able to take your build scripts to the next level.

Batching Overview

Typically during a build process you deal with many files, and very often you need to handle files that are categorized. For instance, you have files that are ...

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.