In your comment on kroonwijk, you said that you are trying to specify a specific configuration file for use in a test run. The way I've done in the past is to create some App.config transformations (for example, App.Test.config), where the "Test" part matches the configuration name that I set in the configuration manager. Then, when I build with this particular configuration, the appropriate transformations are applied, and the resulting configuration file has the values ββthat I need for this environment.
source share