Maui Windows unpackaged app fails to start #5927
Labels
area-publishing
Issues with the app packaging/publishing process (ipk/apk/msix/trimming)
platform/windows 🪟
t/bug
Something isn't working
Description
When running an "unpackaged" Maui Windows app it is crashing on startup due to microsoft/WindowsAppSDK#2382 here:
maui/src/Core/src/Platform/Windows/ImageViewExtensions.cs
Lines 19 to 26 in 02300fe
Because this static constructor is throwing an exception in an unpackaged app, the app fails to load.
Steps to Reproduce
dotnet new maui
dotnet build -c Release
bin\Release\net6.0-windows10.0.19041.0\win10-x64\
Version with bug
Unknown/Other (please specify)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
windows 10.0.19041.0
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: