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

App exits immediately #13121

Closed
jerelmcdonald opened this issue Feb 5, 2023 · 1 comment
Closed

App exits immediately #13121

jerelmcdonald opened this issue Feb 5, 2023 · 1 comment

Comments

@jerelmcdonald
Copy link

jerelmcdonald commented Feb 5, 2023

Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/run
Operating System: windows

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

When I click 'windows machine' the program builds, and looks like it is starting but exits with these messages:

'MyFirstMauiApp.exe' (CoreCLR: clrhost): Loaded 'C:\Users\jmcdonald\source\repos\MyFirstMauiApp\MyFirstMauiApp\bin\Debug\net7.0-windows10.0.19041.0\win10-x64\AppX\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[24852] MyFirstMauiApp.exe' has exited with code 2147942405 (0x80070005).
I set a breakpoint at InitializeComponent in the MainPage method, but that breakpoint is never hit.
I also set a breakpoint in CreateMauiApp() method on the first line and that breakpoint is never hit.

I did enable developer mode
I ran Visual Studio as Admin. It got a bit further but still exits in the same way.
This is Windows 10 Enterprist 21H2

Fixed after installing latest SDK 1.2

@jerelmcdonald
Copy link
Author

@ghost ghost locked as resolved and limited conversation to collaborators Mar 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant