uno: The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.
Type: Bug
Current Behavior
The error occurs while building the first app build with the Uno platform
Expected Behavior
Any other .net project builds without such an error (e.g. .NET MAUI)
How to reproduce it (as minimally and precisely as possible)
Create Uno platform mobile app project, and try to build debug version (without any code modifications in the freshly created project)
Workaround
none
Extension Status
Extension: Dev Kit Mode Debugger: Ready Hot-Reload: Running on port 59543 XAML LSP: Ready
Environment information
- Platform: darwin 23.3.0 (arm64)
- VSCode version: 1.87.0
- dotnet version: 8.0.201
- C# Extension: ‘ms-dotnettools.csharp’ version 2.15.30
- C# Dev Kit Extension: ‘ms-dotnettools.csdevkit’ version 1.3.10
- Uno Extension: ‘unoplatform.vscode’ version 0.13.0
- MAUI Extension: ‘ms-dotnettools.dotnet-maui’ version 0.8.44
Extension version: 0.13.0 VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:42:51.279Z) OS version: Darwin arm64 23.3.0 Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Apple M2 Pro (10 x 24) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | 2, 4, 3 |
| Memory (System) | 16.00GB (0.07GB free) |
| Process Argv | –crash-reporter-id 688b0970-e37b-42d9-98a2-b73c16d9d270 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyonecf:30548226
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30968132
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww2:30959801
cppperfnew:30973185
8082a590:30971561
edj9j583:30969295
a89i1917:30973842
e3gdj431:30958358
ccp1r3:30958155
dsvsc020cf:30973509
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 35 (12 by maintainers)
In Summary, now I am able to build targets for Android, iOS, MacOS (I didn’t test Windows target as I do not have Windows machine). Cleaning also works fine, without any errors.
Someone reported a similar issue on our Discord server. Removing the
ProjectName.Mobile.csproj.userfile (created with 0.12 or earlier) was the solution.