I\'m trying to copy a folder recursively to multiple destination folders using MSBuild\'s Copy task. I\'ve seen the following question which gave me a good sta
The most important missing piece in the puzzle seems to be the Outputs
attribute on the Target
element without which you'll always only execute the target for one item of the whole list. The other piece is the new property you need to define on the way.
The solution to your problem might look like so:
%(DeployPath.Identity)