The default MAUI and MAUI-Blazor projects do not work when published for Windows. #4010
Labels
area-publishing
Issues with the app packaging/publishing process (ipk/apk/msix/trimming)
platform/windows 🪟
t/bug
Something isn't working
Description
Hello, I published the projects by trying almost all the options, but all of them crash without any screen after the program is run.
I see attached error when I look from Eventviewer. I also tried it on both windows 10 and windows 11, no difference.
Tried options
Target runtime: Win10-x64,Win10-x86, Win-x64,Win-x86
Deployment mode: Self-contained, Framework dependent (it gives .net framework error but already installed)
Configuration: Debug-release
File publish options: Produce single file, Enable-disable ready to run, trim unused code.
Steps to Reproduce
Version with bug
Preview 10 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
net6.0-windows10.0.19041
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: