Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSIX Crash on startup #47

Open
Strypper opened this issue Jun 6, 2024 · 0 comments
Open

MSIX Crash on startup #47

Strypper opened this issue Jun 6, 2024 · 0 comments

Comments

@Strypper
Copy link

Strypper commented Jun 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant