Problem is, it's escaping the content of the Element Text so the resulting XML ends up like this:
Code: Select all
<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Gibraltar.Agent" publicKeyToken="ca42a1ee8d2e42d3" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.4.0" newVersion="3.5.4.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.2.0.0" newVersion="3.2.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Common.Logging.Core" publicKeyToken="af08829b84f0328e" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.2.0.0" newVersion="3.2.0.0"/>
</dependentAssembly>
</assemblyBinding></runtime>
</configuration>
Is there a way of stopping it doing this and treat the text as an XML block?
Thanks,
Kenny