Skip to content

[XGPM] Fix MSIXVC2 back button navigation on legacy upload path & SubmissionValidator DLL load failure#126

Merged
elahmed-microsoft merged 3 commits into
mainfrom
users/elahmed/back-button-navigation-bug
May 20, 2026
Merged

[XGPM] Fix MSIXVC2 back button navigation on legacy upload path & SubmissionValidator DLL load failure#126
elahmed-microsoft merged 3 commits into
mainfrom
users/elahmed/back-button-navigation-bug

Conversation

@elahmed-microsoft
Copy link
Copy Markdown
Collaborator

Fixes two issues with MSIXVC2 packaging in Xbox Game Package Manager:

  1. Back Button Navigation Bug

When uploading an MSIXVC2 package via the legacy Upload a Package path, the error screen's "Go Back" button incorrectly navigated to Msixvc2UploadView instead of back to PackageUploadView where the user started.

Fix: Added UploadOriginPage property to PackageModel. Both entry points now set this before navigating to the uploading screen. Msixvc2UploadingViewModel reads it for cancel/error navigation.

  1. SubmissionValidator.dll Load Failure

When packaging with MSIXVC2 toggle, makepkg2's /updatesubval downloads SubmissionValidator.dll but it fails to load because XSAPI.dll isn't co-located.

Fix: Added CopyXsapiDllToSettingsFolder() that pre-copies xsapi.dll from the GDK bin directory before invoking makepkg2.

…ttings folder, since makepkg2's /updatesubval downloads only the validator DLL but it depends on XSAPI.dll at load time.
@elahmed-microsoft elahmed-microsoft merged commit cf5c6d4 into main May 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants