I am about to deploy my service on Windows Azure when I get this error:
Error: The provided configuration file contains XML that could not be parsed. ‘$’ is an unexpected token. The expected token is ‘;’. Line 14, position 99.
I have the following value inside my ServiceConfiguration.cscfg file
<Setting name="AUTH_KEY" value="6v2^mG+$VN`P_9e9KVWkn)}8 Vtdqj?kB7l&kgVcR8i[P/h1dWp9q!(0~ eZ[xTk" />
Is there a way to escape the whole string?
Alternatively can I just escape the culprit “$”?
A comprehensive list of XML escape characters can be found on WikiPedia at
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references