Ok, here is what I want to get done.
This XML:
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="EntityBroker" publicKeyToken="b654f6feb1f1c2e3" culture="Neutral"/>
<bindingRedirect oldVersion="2.0.0.0-2.0.0.53" newVersion="2004.0.0.53"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Needs some replacement, namely the oldVersion and newVersion entries.
This is my XmlPoke:
<xmlpoke file="${policyname}"
xpath="configuration/runtime/assemblyBinding/dependentAssembly/bindingRedirect/@newVersion"
value="${control.fullversion}"
/>
And this is the warning:
No matching nodes were found with XPath _expression_ 'configuration/runtime/assemblyBinding/dependentAssembly/bindingRedirect/@newVersion'.
Äh - is my Xpath wrong, or is this an XmlPoke error?
Thomas