The past couple of days I've been working on a command-line config file parser that will enable our build process to emit the correct web.config for any given environment. For example, we define environments called “model,” “fqa” (final qa) and “prod” (production). The idea is to embed the environment-specific settings in comments at the end of the web.config file, then run the parser, passing in the environment name as a command-line parameter. Here is a sample of what the environment-specific settings ......