Replies: 1 comment 2 replies
-
There hasn't been any significant changes between .NET Framework and .NET as far as settings or resources are concerned. So pretty much all the docs are still valid and relevant.
The Settings have two distinct modes - application-scope (i.e., system-wide, stored in *.exe.config) and user-specific (stored under the user profile). In portable scenarios you can use the application-scope and persist into the *.exe.config as it would likely be user-writable. |
Beta Was this translation helpful? Give feedback.
-
The Application Settings help file here is outdated. It refers to .NET 4 but not 5 or 6. I can't find an updated version. Some of the relevant info is here.
Also, it would be great if an updated doc could give recommended methods for making a settings file portable; for example, read/write from the root directory of a USB drive, instead of in the Windows user's appdata folder.
Hacks for this could probably be figured out, but enough people may be interested in portable applications that is is worth including in the docs.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions