web-config-transform

Different connection string for each publish profile in VS2010

Is it possible to change connection string (or just server host) relying on selected web publish profile? Maybe using Web.config transform or someway else? I mean for profile "Test" change connection string "MyConnString" (in published Web.config) to "Data Source='example.com,14333;..." and for profile "Production" - to "Data Source=./S...

Is it possible to link Web.config transform with publising profile?

Currently I can easily setup Web.config transform based on build configuration, e.g. use connectionString=server;.. for Debug and connectionString=./SQLExpress;.. for Release. But is it possible to do some Web.config transformation basing on web publish profile? I.e. use connectionString=server1;.. for profile Server1 and connectionStri...

What do these Visual Studio warnings mean?

Hi folks, My Web.Config Transformations are not getting published - and I think the error has to do with these warning(s) I'm getting. Using Visual Studio 2010, I'm playing around with my Web.Config / Web.Config.Debug files. In my .Debug file, I get the following warning listed numerous times. No element in the source document matche...

Do web.config transformations work during build/develop cycle not just during publish?

Hi, I'm trying to develop my first web application using Web.Config transformations. Trying to run the app (building with the "Dev" build configuration)in the Asp.Net Debugging web server built into VS the site doesn't seem to work - the "Web.Dev.config" configuration doesn't appear to be seen by the application. Is this to be expecte...