C#C
C#2y ago
1 reply
Choubrou

Enforcing Windows Store updates for a WPF app

Through the use of Windows.Services.Store.StoreContext, it is possible to check for, and make sure the user applies the latest updates of an app. Unfortunately, I've found no way to import this code from my <TargetFramework>net8.0-windows</TargetFramework> project. I think it would work fine from a UWP library, but I also cannot use a UWP library from my net8.0 project.

Do you know of a clean and simple way to use StoreContext from a WPF app (published to the store via PublishPackage)?

Here's the Windows doc about StoreContext:
https://learn.microsoft.com/en-us/windows/msix/store-developer-package-update
Was this page helpful?