C
C#7mo ago
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
1 Reply
Choubrou
ChoubrouOP7mo ago
I've managed to resolve this by targeting net8.0-windows10.0.17763.0 instead of bare net8.0, but now lib VLC sharp is causing problems.
Want results from more Discord servers?
Add your server