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

Maui App only starts with visual studio debugger #2583

Closed
wthks opened this issue Sep 18, 2021 · 6 comments
Closed

Maui App only starts with visual studio debugger #2583

wthks opened this issue Sep 18, 2021 · 6 comments
Labels
area/tooling ⚙️ XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/windows 🪟
Projects

Comments

@wthks
Copy link

wthks commented Sep 18, 2021

I can only start the MAUI App with Visual Studio debugger. whenever I got to the debug folder and try to open the exe. It will not run.

Another Question would be how can I build the App for macOS?

@Eilon
Copy link
Member

Eilon commented Sep 20, 2021

Hi @HeroinGyrl , I'm not certain, but I think to get a "runnable" app you have to "Deploy" or "Publish" the app (depending on the platform) and that will produce a runnable version of the app.

@wthks
Copy link
Author

wthks commented Sep 20, 2021

hey @Eilon I m using deployment mode self-contained ad win10-x64 + Produce single file option however the file doesnt want to start. I dont get a error message or any other messages.

I also tried to start the MaupApp1.exe in the debug/release folder it doesnt run. It only runs when I click start debugging in Visual Studio. must be a issue.

Screenshot 2021-09-20 184601
Screenshot 2021-09-20 185021

@Eilon
Copy link
Member

Eilon commented Sep 20, 2021

@HeroinGyrl OK thank you for the update, we'll have to take a closer look at what's going on here.

@Eilon Eilon added the area/tooling ⚙️ XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging label Sep 28, 2021
@igalfsg
Copy link

igalfsg commented Oct 15, 2021

@Eilon is there an update on this issue?

@jsuarezruiz jsuarezruiz added this to New in Triage via automation Oct 22, 2021
@jsuarezruiz jsuarezruiz moved this from New to Ready For Work in Triage Nov 12, 2021
@bitbound
Copy link

bitbound commented Nov 30, 2021

I'm having the same issue. I can't find any method of building, publishing, or packaging (MSIX) that produces an output that can be run outside of Visual Studio.

Edit: To clarify, for Windows target.

@jfversluis
Copy link
Member

Hey everyone! I've been trying to look into this and wrote up all my findings in #4329. In an attempt to not be all over the place with this I'm closing this one, let's centralise the discussion in the aforementioned issue, thanks!

The issue mentioned above doesn't take into account Blazor yet. So I would be curious about your findings with that.

Triage automation moved this from Ready For Work to Done Jan 26, 2022
@dotnet dotnet locked as resolved and limited conversation to collaborators Feb 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/tooling ⚙️ XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/windows 🪟
Projects
No open projects
Development

No branches or pull requests

5 participants