Reputation: 1003
I am experiencing a frustrating issue.
When I run my application (with Visual Studio 2012) in debug mode (clicking the start button), some variables from the object Settings.Properties.Default have incorrect values and I can't find how to change them.
I have revised them using the visual control "Settings.settings" and they are correct (I have also revised the Settings.designer.cs code file and is correct). I have also revised all the .config files I have found in the solution ({exe}.config, {exe}.vshost.exe.config, app.config) and the values of the variables are correct in all of them.
So, why in debug mode some variables from the Properties object have different values? And how can I change them?
This issue only occurs in debug mode. If I run the application from the Windows Explorer, the values are correctly read from the .config files.
Upvotes: 1
Views: 1919