Add appLicensing capability to Appx manifest#27412
Conversation
There was a problem hiding this comment.
Pull request overview
Adds the restricted appLicensing capability to the MSIX/AppX manifest so PowerShell’s packaged app can skip Microsoft Store license acquisition (avoiding “Error acquiring license from Store” and improving startup latency).
Changes:
- Added
<rescap:Capability Name="appLicensing" />toassets/AppxManifest.xmlcapabilities list.
|
@SteveL-MSFT The doc about
Have we already got the exception to use this capability without affecting submitting PowerShell app to MS Store? |
Microsoft 1st party automatically gets exception. Internal partner requested we add this. |
PR Summary
Add the
appLicensingcap to Appx manifest which declares a license (from point of view of the Store) is not required. This is a restricted cap, but PowerShell 7 can use it.PR Context
This fixes a potential "Error acquiring license from Store" error and also speeds up startup as it doesn't try to acquire a Store license.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header