You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: ApplicationData.GetForUnpackaged() overload that gives unpackaged apps a way to declare its default ApplicationData #6934
WinUI is developing a window placement persistence feature, and we need a place to store window placement data for unpackaged apps.
Today for apps with package identity we can call ApplicationData.GetDefault(). But the equivalent for unpackaged apps, ApplicationData.GetForUnpacakged(publisher, product) requires those "publisher" and "product" strings only the app can provide.
Request: Can we invent a way for an unpackaged app to declare its identity for the process that allows components like WinUI to acquire a "default" ApplicationData scoped to that app?
For example:
// app codeApplicationData.SetDefaultForUnpackaged(ApplicationData.GetForUnpackaged("Contoso","minesweeper"));// winui codeApplicationData.GetForUnpackaged();// new API!
Other ideas?
ApplicationData (or some other static type) could have "DefaultPublisher" and "DefaultProduct" fields
App exe could declare its publisher and product in its manifest
Activity
ghost1372 commentedon Nov 3, 2026