I get the converted web.config in the deployment package incorrectly converted.
The result is as follows (note how the connection chain is created):
<connectionStrings> <add name="xxxConnectionStringNamexxx" connectionString="$(ReplacableToken_xxxConnectionStringNamexxx-Web.config Connection String_0)" providerName="System.Data.SqlClient" /> </connectionStrings>
Web.Config:
<connectionStrings> <add name="xxxConnectionStringNamexxx" connectionString="Data Source=.\sqlexpress2005;Initial Catalog=xxxx;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings>
Web.Release.config:
<connectionStrings> <add name="xxxConnectionStringNamexxx" connectionString="Data Source=.\sqlexpress2005;Initial Catalog=xxxx;Integrated Security=True" providerName="System.Data.SqlClient" xdt:Transform="SetAttributes(connectionString)" xdt:Locator="Match(name)"/> </connectionStrings>
Any ideas? Thanks
source share