Wednesday, May 16, 2012

Visual Studio: differentiate app.config for debug and release mode

Is there a way to automatically use a separate app.config when building in release mode?



In other words, I want to test with one app.config, and release with another.



Currently, I keep a separate copy called app.config.production, and manually overwrite bin\Release\Application.exe.config after building for release.





No comments:

Post a Comment