-
Notifications
You must be signed in to change notification settings - Fork 674
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
Using Win2D breaks publishing unpackaged app as single file #6400
Comments
You will find a (I'd be surprised if this isn't a known issue) |
@codendone FYI |
Retested with current latest packages: Windows App SDK 1.1.0-preview3 Still fails with same problem. |
It seems like anything with Win2D refs are breaking if not being deployed to official channels. Still happening with Windows App SDK 1.1.1 stable. We're supposed to be able to make unpackaged apps but despite the November 2021 release being over 6 months ago, official Microsoft packages are still not supporting it. Pretty unreal. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Describe the bug
The application contains a user control that draws itself using composition drawing which requires the Win2D nuget package. When either the debug or release target is published with PublishSingleFile set to true, the previously working application stops with a fail fast exception after opening the main window but before any controls are loaded.
Steps to reproduce the bug
SingleFileIssue.zip
Expected behavior
It should work.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type
Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
If I start the published single file using Visual Studio, the output window shows quite a few exception messages. It's difficult to know if these are benign, apart from the last two:
The text was updated successfully, but these errors were encountered: