May 2010
Intermediate to advanced
1272 pages
61h 18m
English
The batching feature in MSBuild simply enables you to perform a kind of For..Each loop over items within an ItemGroup section. Imagine you have two collections of items within an ItemGroup section, where for each item a value is specified. For a better understanding, create a new Xml file named MSBuildDemo.proj and type the following code:

The goal of the new target is iterating all items in both collections and associating each number to the appropriate item; in other words, the goal is to display what items in both collections the number 1 is associated to and so on for other numbers. Now type the following command line:
MSBuild MsBuildDemo.proj ...
Read now
Unlock full access