fix: self-contained publish + Windows App Runtime 1.8.7 (v1.0.12) - #25
Merged
Merged
Conversation
…0.12 Three compounding issues prevented PassKey from launching on installed systems: 1. STATUS_INVALID_IMAGE_HASH (v1.0.9/v1.0.10): Windows App Runtime 1.8.260101001 has a compatibility bug with Windows 11 25H2 (Build 26200+). Fixed by upgrading to Windows App Runtime 1.8.260416003 (released 2026-04-21). 2. ".NET must be installed" (v1.0.10/v1.0.11): The bundled dotnet-runtime installer was failing silently on machines with an existing .NET 8/9 installation (the DotNet10Installed check returned a false positive, skipping the installer). Fixed by switching PassKey.Desktop back to self-contained publishing — the .NET runtime is now bundled in the application folder, no external installer needed. 3. Microsoft.UI.Xaml.dll is NOT bundled (WindowsAppSDKSelfContained is not set), so HVCI/Code Integrity never rejects it. Bootstrap.Initialize() loads it from the system-installed Windows App Runtime at runtime. Verified working on: Windows 11 25H2 (Build 26200) — both bare metal and VirtualBox. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1.8.260101001to1.8.260416003(released 2026-04-21), which fixes a compatibility bug specific to Windows 11 25H2 (Build 26200+).PassKey.Desktopback to self-contained publishing. The .NET runtime is now bundled in the application folder — no external.NET 10installer needed. Thedotnet-runtime-10.0.7-win-x64.exehas been removed from the installer entirely.Microsoft.UI.Xaml.dllis still not bundled (WindowsAppSDKSelfContainedis not set). It is loaded from the system-installed Windows App Runtime viaBootstrap.Initialize(), so Windows Code Integrity always accepts it.Test plan
coreclr.dllpresent in publish folder (self-contained confirmed)Microsoft.UI.Xaml.dllabsent from publish folder (not bundled)🤖 Generated with Claude Code