Is there a way to make conversions work with regular web publishing?
Absolutely, see this link on MSDN . You do not need MSBUILD. You can set connection strings for different environments in separate configuration files. For example, you might have Web.config, Web.QA.config, and Web.Prod.config, where QA and Prod are separate Visual Studio Build configurations .
Alternatively, you can simply use the build configurations that are added by default: Web.config (local development), Web.Debug.config (use for QA) and Web.Release.config (used for production).
Using this setting as an example, Web.config will have the entire configuration, Web.Debug.config will only have the configuration that changes for this environment (connection strings, application settings, etc.), and Web.Release.config has only the configuration that changes for this environment.
Once the settings and conversions are configured, you simply modify the assembly configuration, create and publish from Visual Studio.
source share