-
Notifications
You must be signed in to change notification settings - Fork 1
feat(#3): Microsoft Store MSIX packaging #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,68 @@ | ||||||||||||
| <?xml version="1.0" encoding="utf-8"?> | ||||||||||||
| <Package | ||||||||||||
| xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" | ||||||||||||
| xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" | ||||||||||||
| xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" | ||||||||||||
| xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"> | ||||||||||||
|
|
||||||||||||
| <Identity | ||||||||||||
| Name="BannerlordModer.BannerlordModEditor" | ||||||||||||
| Publisher="CN=BannerlordModer" | ||||||||||||
| Version="1.0.0.0" /> | ||||||||||||
|
|
||||||||||||
| <mp:PhoneIdentity PhoneProductId="a3f5c8d2-7e4b-4f1a-9c6d-8b2e3f4a5c6d" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> | ||||||||||||
|
||||||||||||
|
|
||||||||||||
| <Properties> | ||||||||||||
| <DisplayName>Bannerlord Mod Editor</DisplayName> | ||||||||||||
| <PublisherDisplayName>BannerlordModer</PublisherDisplayName> | ||||||||||||
| <Logo>Assets\icon.png</Logo> | ||||||||||||
| <Description>A professional Mod editor for Mount & Blade II: Bannerlord</Description> | ||||||||||||
| </Properties> | ||||||||||||
|
|
||||||||||||
| <Dependencies> | ||||||||||||
| <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" /> | ||||||||||||
| <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" /> | ||||||||||||
| </Dependencies> | ||||||||||||
|
|
||||||||||||
|
Comment on lines
+23
to
+26
|
||||||||||||
| <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" /> | |
| <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" /> | |
| </Dependencies> | |
| <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" /> | |
| </Dependencies> |
Copilot
AI
Mar 20, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For MSIX-packaged Win32/WinUI 3/WPF desktop apps, EntryPoint is typically Windows.FullTrustApplication (with a windows.fullTrustProcess extension if using the Desktop Bridge model). Using an app-class entry point here is likely to break activation/launch. Align the manifest with the app model you’re packaging (full-trust desktop vs. UWP), updating EntryPoint (and adding/removing the full-trust extension) accordingly.
Copilot
AI
Mar 20, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both runFullTrust and especially unvirtualizedResources are restricted capabilities that can trigger Store certification rejection unless you have approval/strong justification. If unvirtualizedResources isn’t strictly required, drop it; if they are required, consider documenting why (and ensuring the package submission is prepared for restricted capability review).
| <rescap:Capability Name="unvirtualizedResources" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The manifest introduces the
uap,mp, andrescapnamespaces but does not mark them as ignorable on the<Package>element. This commonly causes schema/packaging validation failures. AddIgnorableNamespaces=\"uap mp rescap\"(or the appropriate subset actually used) to the<Package>element.