Batching Using Shared Metadata

The concept of shared metadata is loosely defined; it is a set of metadata that is common across more than one item type. For example, in VB.NET and C# project files many different items can have a value for the DependentUpon metadata. There are scenarios in which you would like to batch using different item types that have identical metadata—that is batching using shared metadata.

In all the examples we have discussed thus far, we have always qualified the item type in the batching expression. For example, we recently used the expression %(Projects.Identity). In this expression, the item type was Projects and we were batching on the Identity metadata. Consider this example: As you create projects in Visual Studio, ...

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.