A couple of times I’ve had the problem where changes to app.config were not reflected in my bin/Debug/MyApp.exe.config file. No amount of cleaning and rebuilding would cause the changes to take effect. The solution: delete the obj
folder. Then a rebuild will have the latest changes.