I have a portion of XML in Web.QA.config that looks like this:
<net>
<encryption>
<add key="EncKey" value="stuff>stuff" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</encryption>
</net>
But when I run it through the transform, the > gets escaped and the output is:
<net>
<encryption>
<add key="EncKey" value="stuff>stuff" />
</encryption>
</net>
Is there something I can change such that the > will not be escaped? I'm adding transforms into a legacy application and that is the way the application is expecting the EncKey string.
Thanks.
If you are running MSBuild from the command line, you can add the parameter:
/p:AutoParameterizationWebConfigConnectionStrings=False
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.