Startup Failure.
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
### Describe the bug
Im buiding a WinUI 3 App, but its not starting up when I publish it.
I have tested a brand new WinUI 3 App, but they all fail with this error
```
Faulting application name: Publish_test.exe, version: 1.0.0.0, time stamp: 0x6a5a0000
Faulting module name: KERNELBASE.dll, version: 10.0.19041.6280, time stamp: 0x56511854
Exception code: 0xe0434352
Fault offset: 0x0000000000025369
Faulting process id: 0x3d0c
Faulting application start time: 0x01dd401fef09ef54
Faulting application path: C:\Users\manue\Desktop\Publish_test\publish\Publish_test.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 3dcf6d10-31eb-4333-8b09-4a89344f6dab
Faulting package full name:
Faulting package-relative application ID: ~
```
```
Fault bucket 2281903228362613850, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: Publish_test.exe
P2: 1.0.0.0
P3: 6a5a0000
P4: KERNELBASE.dll
P5: 10.0.19041.6280
P6: 56511854
P7: e0434352
P8: 0000000000025369
P9:
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7565.tmp.mdmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER769E.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER775B.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER776D.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER77AC.tmp.txt
These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Publish_test.exe_cdfe2fc4e01ce332805ff7f1316a8f6c1eed1a84_3dc4343f_184bbf56-2225-4b18-9e29-73857a970d96
Analysis symbol:
Rechecking for solution: 0
Report Id: 3dcf6d10-31eb-4333-8b09-4a89344f6dab
Report Status: 268435456
Hashed bucket: 3f80d0891346de856faaf2e56a5ee45a
Cab Guid: 0
```
I have reconfigured Windows App Runtime dependecies and installed 3 versions the modified the apps to adapt to those versions but it still fails. How ca I resolve this. The earlier prototype worked but now I cant figure out whats happening
### Steps to reproduce
Here is the github repository : https://github.com/ManuelPrhyme/AutoTable.git
### Expected behavior
I expect the published App to run so I can create a functional installer for it. I even attempted to bundle the installer with an exe file for Windows App SDK but it still didnt open
### Actual behavior
Application does not open, it fails silently in published mode
### Is this a regression?
I have three versions installed on my PC, From 2.2.0 up to 2.4.0, I tried to reconfigure my application to work with all three versions that are installed but it still didn't work. In debug mode it builds and opens successfully but when I publish the application, the application fails silently with the errors that I put up there. Because it's a WinUI application I removed the publish stream and it still doesn't open. An earlier version did work but I still can't put a finger on why the earlier version worked and why this can't work.
### Are there any workarounds?
_No response_
### dotnet --info output
```console
.NET SDK:
Version: 10.0.400
Commit: 14fbf8d527
Workload version: 10.0.400-manifests.b0ae88bd
MSBuild version: 18.9.6+14fbf8d52
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.400\
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.11
Architecture: x64
Commit: e2f47b0110
.NET SDKs installed:
10.0.400 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.30 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
DOTNET_GCHeapCount [2]
DOTNET_GCNoAffinitize [1]
DOTNET_MULTILEVEL_LOOKUP [0]
DOTNET_TC_CallCountThreshold [1000]
DOTNET_ThreadPool_UnfairSemaphoreSpinLimit [0]
DOTNET_gcConcurrent [0]
Detected COMPlus_* environment variable(s). Consider transitioning to DOTNET_* equivalent.
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
```
### IDE version
Visual Studio 2026
### Other details
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Clone the linked AutoTable repository and reproduce the published WinUI 3 executable failure using the supplied dotnet --info environment. Compare the successful debug launch with the published output and inspect the project’s publish configuration; done means identifying a reproducible SDK or publish issue and validating it with a focused regression scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, desktop-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100