My connection string is something like:
connectionString="data source=.\SQLEXPRESS;Integrated Security ..."
but what appears in the transformed file is:
connectionString="$(ReplacableToken_ApplicationServices-Web.config Connection String_0) ..."
WTF?
Much conversation with Mr. Google and eventually the solution is:
<AutoParameterizationWebConfigConnectionStrings>False</AutoParameterizationWebConfigConnectionStrings>
You need to add this to the appropriate .pubxml file under Properties\PublishProfiles
Enjoy!
No comments:
Post a Comment