publish to server 2019 as exe crached

Dani_S 4,501 Reputation points
2025-05-28T12:14:35.5866667+00:00

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
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,265 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
    2025-05-29T17:15:31.99+00:00

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.