Using Arrays with Task Inputs and Outputs
We have now discussed various topics about passing values into and out of tasks; one of the only issues that we have not discussed is passing vector values into and out of tasks. We will discuss that now, by examining a real MSBuild task. This task was taken from my open source task repository, Sedodream Tasks, which is available at Codeplex at http://www.codeplex.com/sedodream. The task that we will demonstrate is the Move task. You may have noticed that out of the box there is a copy task and a delete task, but there is no move task, so this task will fit that need. This task was designed to work similar to the Copy task in the sense that it has a similar set of inputs, outputs, and behavior. The properties ...
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.