I have an automated build process that sets up the application for a specified mode (e.g. Dev, uat, live). Depending on this mode I want to update Connection Strings to the rele
There is a way to override the settings.settings :
Project.Properties.Settings.Default["ConnectionString"] = ConfigurationManager.ConnectionStrings["Project.Properties.Settings.ConnectionString"].ConnectionString;