Skip to content

Recommended way of doing user settings with WindowsAppSDK 1.0? #1478

Answered by andrewleader
fourdragons asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @fourdragons, thanks for asking!

ApplicationSettingsBase is for WinForms apps. For WinUI 3 packaged (MSIX) apps, app and user settings should be stored using the ApplicationData class. Here's instructions on how to save and load user settings: https://docs.microsoft.com/windows/uwp/get-started/settings-learning-track

Note that those docs do say "UWP", however, those docs are applicable to any packaged (MSIX) app, like WinUI 3 packaged.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@DrusTheAxe
Comment options

@riverar
Comment options

@MolotovCherry
Comment options

@DrusTheAxe
Comment options

@riverar
Comment options

Answer selected by fourdragons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants