I have a property called CONNECTIONSTRING that gets passed when the msi is executed. When this property is passed to it, something is changing the property. I am passing this string:
metadata=res://*/Entities.FitnessManager.csdl|res://*/Entities.FitnessManager.ssdl|res://*/Entities.FitnessManager.msl;provider=System.Data.SqlClient;provider connection string="Data Source=localhost;Initial Catalog=MyDB;Integrated Security=SSPI;multipleactiveresultsets=True;App=EntityFramework"
The string that gets added to my web.config is:
metadata=res://*/Entities.FitnessManager.csdl|res://*/Entities.FitnessManager.ssdl|res://*/Entities.FitnessManager.msl;provider=System.Data.SqlClient;provider connection string="Data Source=localhost;Initial Catalog=MyDB;Integrated Security=SSPI;multipleactiveresultsets=True;App=EntityFramework"
Which is no longer a valid connection string. Why are the &s getting added and how can I prevent this?
FOLLOW US
Get the latest news in Application Packaging