I am having trouble understanding how this works and I am look for a example.
Currently I get the following error> error : Invalid TaskAction passed: ReadElements
Given:
<?xml version="1.0" encoding="UTF-8"?>
<Deployment>
<Server></Server>
<Server></Server>
</Deployment>
Use:
<MSBuild.ExtensionPack.Xml.XmlFile
File="c:\Build\deployment.xml"
XPath="//Deployment/Server"
TaskAction="ReadElements">
<Output ItemName="MyItems" TaskParameter="Elements"/>
</MSBuild.ExtensionPack.Xml.XmlFile>