I am using SlowCheetah for transforming my application config file. My problem is that some of the values that it replaces are SQL statements that have conditions like ... where x > 1
and the >
ends up being encoded as >
, \r\n
ends up as 

and so forth. If I send this sort of statement to the database will throw an error.
How do I prevent this? I googled already with no luck.
To "fix" this issue - if you can call it that - I ended up moving the section that contained the special characters that were being encoded by SlowCheetah to a different file, and set the
configSource
attribute in the section to point to the new file. Basically, I did this:Now SlowCheetah transforms the
App.config
file and the contents ofpluginsConfig.xml
are not affected.