Repository navigation
fix: app closed on startup; single-file portable exe - #3
Merged
Merged
Conversation
Writes startup steps and unhandled exceptions to %LOCALAPPDATA%\ControlFS\logs so startup failures can be diagnosed (no passwords or file contents). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ngle-file portable exe The app crashed on startup (0xC000027B, "Cannot locate resource from ms-appx:///Microsoft.UI.Xaml/Themes/themeresources.xaml") because an unpackaged app needs EnableMsixTooling to produce ControlFS.pri. The portable build is now a single ControlFS-Portable-x64.exe that keeps its data in ControlFS_Data next to it. Release and smoke workflows now launch the portable exe and the installed app before anything is published. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PublishSingleFile adds an implicit Microsoft.NET.ILLink.Tasks reference from the SDK that the lock files don't list. The installer build (published first) and CI keep the locked restore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cess exit in startup test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <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.
Problem
0.1.0-alpha.1 and 0.1.0-alpha.2 closed right after opening (installed and portable): exit 0xC000027B in Microsoft.UI.Xaml.dll. The new startup log showed
Cannot locate resource from 'ms-appx:///Microsoft.UI.Xaml/Themes/themeresources.xaml'.Fix
EnableMsixTooling=trueso the unpackaged app generatesControlFS.pri.ControlFS-Portable-x64.exewith data inControlFS_Datanext to it.Evidence
Smoke on windows-latest: portable and installed app open and keep the "ControlFS" window; install → launch → uninstall OK; screenshot shows the UI.
🤖 Generated with Claude Code