Skip to content

MSIX Crash on startup #47

@Strypper

Description

@Strypper

Hi everyone,

I've been struggling for the past three days to figure out why my application is exhibiting the following behavior:

  1. My application runs fine using VS 2022 and can start in both DEBUG and RELEASE modes without any issues.
  2. However, when we publish the application using the following CLI command:
    dotnet publish TestPublish1.csproj -f net8.0-windows10.0.19041.0 -c Release -p:RuntimeIdentifierOverride=win10-x64 --self-contained true
    The publishing process completes successfully, but the application crashes immediately upon startup when installed via MSIX.
  3. We checked the Event Viewer for more details and found the following errors on our machines:
    • Windows 10:
      • Faulting application name: mauisland.exe, version: 1.0.0.0, time stamp: 0x65a80000
      • Faulting module name: KERNELBASE.dll, version: 10.0.19041.4355, time stamp: 0xd7762934
    • Windows 11:
      • Faulting application name: mauisland.exe, version: 2.0.0.0, time stamp: 0x661f0000
      • Faulting module name: Microsoft.ui.xaml.dll, version: 3.1.5.0, time stamp: 0x7fd76c03

After removing all Syncfusion dependencies, we republished the application, and it started working again.

Tools and version
.NET MAUI: 8.0.40
Syncfusion: See all the list below

		<PackageReference Include="Syncfusion.Maui.Backdrop" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.Barcode" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.Calendar" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.Charts" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.Core" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.DataForm" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.DataGrid" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.Gauges" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.Inputs" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.ListView" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.Maps" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.PdfViewer" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.ProgressBar" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.SignaturePad" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.Sliders" Version="25.2.7" />
		<PackageReference Include="Syncfusion.Maui.TabView" Version="25.2.7" />

VS2022: 17.11.0 Preview 1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions