WinUI
unknown exception when running as Project
instead of MsixPackage
#21794
Labels
area-tooling
XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging
platform/windows 🪟
s/needs-attention
Issue has more information and needs another look
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
I'm facing a problem while trying to release my app as
Project
onWindows
.When I start the application set as
Project
in theLaunchSettings
I get an
Microsoft.UI.Xaml.UnhandledException
exception.Stacktrace:
When I switch back to
MsixPackage
, the app works. Same applies for Android.Only
WinUI
as unpackaged built gives me this exception.I'm actually kinda lost how to debug the root-cause with this exception.
The only which popsup on the working configuration is this
Binding
issue, which I cannot identify in my project source code.Maybe this is the reason why the
Project
build fails...Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.20 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
Publish as
MsixPackage
Relevant log output
No response
The text was updated successfully, but these errors were encountered: