I have an item group an MSBuild project that represents files to be copied. The Copy Task, and another custom task I wrote seems to want to batch on the Destination item meta data. I can't help but wonder that this would be slow, and I'm trying to get this happen as quickly as possible.
So batching means that if a group of 100 items is sent to the task, that the task is NOT called once with 100 items. Instead it is called multiple times with smaller groups of items.
This results in a huge waste of time as the Execute virtual function of the task is hit dozens if not hundreds of times.
How do I disable batching in MSBuild for a Task? Or a target?