0

I have a Windows forms application. When I view settings on the Settings tab of my project properties and when I look at App.config, I see one set of values. When I view the values for some of the properties in a message box in the main form's New subroutine, I see different values. I have no idea where these different values are coming from. Any ideas where else to look for property values that would be overriding what's in App.config? Thanks!

Dan-BTP
  • 115
  • 2
  • 9
  • 1
    app.config store the default values (which you can reset). The current values (in the `User` scope) are stored in the `user.config` file in the `AppData` folder of the current User (`AppData\Local` or `AppData\Roaming`, depending on how a setting is configured). -- See the notes at the bottom of this Q&A: [How to get the current value of a Property Setting at run-time using a loop](https://stackoverflow.com/a/60117461/7444103) – Jimi May 18 '22 at 14:57
  • From explorer, you can get to Roaming as %appdata% and to Local as %localappdata%. – Craig May 20 '22 at 14:15

1 Answers1

-1

do you try checking on the app.config <add name="pointername" (name) and compare to properties.settings? it should be the same with the app.config.

Tyler2P
  • 2,324
  • 26
  • 22
  • 31