Hello, I am trying to change app.config via xpath (in a nant script).
The app.config is as follows:
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings>
<add key="CRMMetadataServiceUrl" value="devLANI-RF1"/>
</appSettings>
</configuration>
The following xpath
"configuration/appSettings/add[@key = 'CRMMetadataServiceUrl']/@value"
locates the key fine if there is no xmlns attribute on the
'configuration' element, but won't work if the attribute is there. How
can I get to the key if the attribute is there?
Thanks.