Hi All,
I am using Web Deploy by way of Visual Studio / Build / Publish
I am NOT using Web Deploy and the VS Publish process to deploy my DataBase (I am doing that separately using Visual Studio Data Tools).
I AM trying to alter my 2 web.config database connection strings differently for each Publish Profile. I have tried to do this using:
Visual Studio / Build / Publish / Settings / Databases / ConnectionString DBName;Persist Security Info=True;
User ID=UserName;Password=Password
I have CHECKED the Checkbox "Use this connection string at runtime (update destination web.config)"
I have left UNCHECKED the Checkbox Update Database
However with these settings although the deployment otherwise works well, the connection strings are NOT updated in the destination web.config
I did get my site working using standard web.config Transforms based on Build Configuration (debug, release or custom). However I would prefer an approach that transforms Connection Strings based on Publish Profiles.
Any help to get this working would be appreciated.
Thanks
Terry Clancy
ClanceZ