Batching and
Incremental
Builds
By Anney
2

Batching Overview

2013/11/25
3

Task Baching

2013/11/25
4

2013/11/25

Task Batching
 %(ItemMataDataName)
 %(ItemCollection.ItemMataDataName)
5

Task Batching (2)

2013/11/25
6

2013/11/25

Target Baching
 Target

batching is driven entirely by the
Outputs attribute of the target. Based on
the batches created, the target is
executed once per batch.
7

Target Baching(2)

2013/11/25
8

2013/11/25

Incremental Building
 MSBuild

checks if the inputs and outputs of
a target are up-to-date before it runs the
target.
 Both inputs and outputs are up-todate, the target is skipped.
9

2013/11/25

Incremental Building(2)
 Target

needs inputs and outputs attribute.
10

Incremental Building(3)

2013/11/25
11

References
 http://msdn.microsoft.com/en-

us/library/vstudio/ms171483.aspx
 http://msdn.microsoft.com/enus/library/7z253716.aspx

2013/11/25
12

~ The End ~

2013/11/25

Batching and Incremental Build