I have initialized the empty solution and added the ".NET MAUI Blazor Hybrid and Web App" type project:
I have not touched the source code yet.Once I have launched the debugging of Native Windows version, the following error has occurred:
The program '[31136] Calendar.exe' has exited with code 3221226356 (0xc0000374).
Full debug output:
'Calendar.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Calendar.dll'. Symbols loaded.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\hotreload\Microsoft.Extensions.DotNetDeltaApplier.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.IO.Pipes.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Threading.Overlapped.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Security.AccessControl.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Security.Principal.Windows.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Security.Claims.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Runtime.Loader.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\WinRT.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Microsoft.WinUI.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Runtime.CompilerServices.Unsafe.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Microsoft.Windows.SDK.NET.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.ComponentModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Security.Cryptography.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Microsoft.InteractiveExperiences.Projection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'D:\CrossPlatformDevelopment\Experiments\SampleCrossPlatformEcosystem\Implementation\Elements\Clients\Calendar\Calendar\bin\Debug\net9.0-windows10.0.19041.0\win10-x64\Microsoft.Maui.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.'Calendar.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.4\System.Linq.Expressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.The program '[31136] Calendar.exe' has exited with code 3221226356 (0xc0000374).This error randomly occurs or no.Here are the experiment results:
| Launch No. | Result |
|---|---|
| 1 | Error |
| 2 | Error |
| 3 | Normal |
| 4 | Normal |
| 5 | Error |
| 6 | Normal |
| 7 | Error |
Here is how normally operating application appears:
Additionally, one time the application has dead after has been normally launched.Here is the output:
'Calendar.exe' (CoreCLR: clrhost): Loaded 'Anonymously Hosted DynamicMethods Assembly'. The thread '.NET TP Worker' (17480) has exited with code 0 (0x0).The thread '.NET TP Worker' (19488) has exited with code 0 (0x0).The thread '.NET TP Worker' (16504) has exited with code 0 (0x0).The program '[34436] Calendar.exe' has exited with code 3221226356 (0xc0000374).It is impossible to develop the application while this error occurs.How I can locate the cause?
Additional information
- .NET Version: .NET 9.0 (Standard Term Support)
- Visual Studio Version: Microsoft Visual Studio Community 2022 (64-bit) - 17.13.6 (Newest for 27 Apr 2025)

