microsoft / microsoft/WindowsAppSDK-Samples
Does anyone have a working example of using Restart API for Microsoft Store updates?
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 335
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 8
Description
Which is linked to from https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/applifecycle/applifecycle-restart#examples
The documentation implies that this Restart API could be used to handle software updates, but there is no full example of this being done, it seems that its actually not possible to update a running app via Microsoft Store and have the app restart itself?
Seems like an oversight.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Samples/AppLifecycle/Restart/cs-winui-packaged and the linked Microsoft Learn Restart API examples. Determine whether Microsoft Store updates can be handled by a running packaged app using this API, then document a complete working example or clarify the limitation and expected update flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100