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

Cannot start MAUI app on dotnet 8 #1324

Closed
achobanov opened this issue Jul 30, 2024 · 3 comments
Closed

Cannot start MAUI app on dotnet 8 #1324

achobanov opened this issue Jul 30, 2024 · 3 comments
Labels
area-maui bug Something isn't working

Comments

@achobanov
Copy link

I have an existing project that I'm able to run from VS Code running on Windows, but not on MacOS. After a whole day of wrestling with MAUI stuff on dotnet 7, I've updated all projects to target net8 and now the project builds successfully, however it still fails to startup:

launch: program '/bin/Debug/net8.0-maccatalyst/App' does not exist.

I'm pretty sure VS Code is looking at the wrong path, because the projects targets maccatalyst, which has subcategories. In this case the actual path where you can find the dlls is:

<project-path>/bin/Debug/net8.0-maccatalyst/maccatalyst-x64

I'm able to startup a fresh template MAUI solution no problem.

@webreidi webreidi added the bug Something isn't working label Aug 5, 2024
@emaf
Copy link
Member

emaf commented Sep 17, 2024

Do you have a launch.json file in your workspace?

Also, could you share the terminal output?

@emaf emaf added the needs-more-info Needing more information, waiting on OP label Sep 17, 2024
@achobanov
Copy link
Author

@emaf I eventually got it to work. There were some leftover build errors, which aren't very obvious in VS Code so it took me a while to resolve all of them.

@github-actions github-actions bot removed the needs-more-info Needing more information, waiting on OP label Sep 18, 2024
Copy link

@emaf, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-maui bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants