Literal characters in a variable

GSilvanBGSilvanB Posts: 2
edited May 16, 2014 7:01AM in Deployment Manager
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=&quot;data source

Which obviously doesn't work so well.

Any help greatly appreciated!

Comments

  • Hi

    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
    Chirayu Shishodiya
    Software Engineer - Deployment Manager
    Red Gate
Sign In or Register to comment.