Literal characters in a variable
GSilvanB
Posts: 2
What is the character escape for using literal characters in a parameter?
I need this injected into my web.config
<add name="Entities" connectionString="metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string="data source
But adding that in DM results in
<add name="Entities" connectionString="metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string="data source
Which obviously doesn't work so well.
Any help greatly appreciated!
I need this injected into my web.config
<add name="Entities" connectionString="metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string="data source
But adding that in DM results in
<add name="Entities" connectionString="metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string="data source
Which obviously doesn't work so well.
Any help greatly appreciated!
Comments
To do that, you would need to add a variable in Deployment Manager.
Variable name- Entities
Value- metadata=res://*/Model.csdl|res://*/Model.ssdl|res://*/Model.msl;provider=System.Data.SqlClient;provider connection string="data source
Important thing to note is that I am using " in the variable value which is substituted for "
Remember to create a new release before you deploy for the change to take effect.
Hope this helps!
Chirayu
Software Engineer - Deployment Manager
Red Gate