-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
.NET Maui first Hello World for .Net 7.0 Windows target fails #12186
Comments
I think I have the same issue. Trying to run it on windows closes the app before it shows and the output says Running as MacCatalyst works however. This happens with the brand new template, as well as an app that has worked all the way since RC1.
SDK info: |
When using the CLI to build with the verbosity flag set to "diagnostic" the process seems to fail with the following stacktrace:
|
This is probably a duplicate of #12080 Try this workaround which worked for me: #12080 (comment) |
Same here... Cannot deploy on windows even in debug since VS 17.4.3 even a blank new project with hello world : it doesn't start. Since VS 17.4.3, I can't even deploy an Android release because it says it cannot optimize build |
Duplicate of #12080 |
Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/run
Operating System: windows
Windows 10
Visual Studio 2022 17.4.3
.NET Maui first Hello World for .Net 7.0
Windows target builds, but exits before I see it pop up its window. This is the output:
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.InteropServices.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\WinRT.Runtime.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.Concurrent.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Collections.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Threading.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Runtime.CompilerServices.Unsafe.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Private.Uri.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ObjectModel.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.ComponentModel.dll'.
'MauiApp3.exe' (CoreCLR: clrhost): Loaded 'C:\Users\iliab\source\repos\MauiApp3\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Numerics.Vectors.dll'.
The program '[34632] MauiApp3.exe' has exited with code 2147942405 (0x80070005).
The text was updated successfully, but these errors were encountered: