as you may have discovered, server 2019 support of Maui and WinUI is spotty. I'd try deploying a debug build to get more crash information.
publish to server 2019 as exe crached
Hi,
I used maui in net 9, and deployed it as exe using
dotnet publish -f net9.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d" -p:RuntimeIdentifierOverride=win10-x64 --self-contained
I got this error:
Faulting application name: AutomationClient.MAUI.exe, version: 1.0.0.0, time stamp: 0x67fe0000 Faulting module name: coreclr.dll, version: 9.0.525.21509, time stamp: 0x67fe9d00 Exception code: 0xc0000005 Fault offset: 0x00000000002e5904 Faulting process id: 0xddc Faulting application start time: 0x01dbcfc48e8fb6ab Faulting application path: C:\Program Files (x86)\Sasa-Software\AutomationManager\Client\AutomationClient.MAUI.exe Faulting module path: C:\Program Files (x86)\Sasa-Software\AutomationManager\Client\coreclr.dll Report Id: 562a2a5c-e563-4f6d-b8c2-68c2e2704b30 Faulting package full name: Faulting package-relative application ID:
Can you please help ?
Thanks,
.NET Runtime
-
Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
2025-05-29T17:15:31.99+00:00