question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Maui Template WinUI wont start

See original GitHub issue

Hey guys! I sat down to look at MAUI today and I can’t even the basic template that comes with VS2022 4.1(latest) to start.

Attempting to start the windows project will error our with The project doesn't know how to start profile (my app name).winUI

I did a bit of searching on the error, which led me to get the extensions Project Reunion and Single Project MSIX packaging tools but that didn’t fix the error. I’ve also downloaded the most recently released version of Maui-Check which said I was good to go. If there’s more that needs to be done, I’m not seeing it on the quick start guide.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Eiloncommented, Oct 14, 2021

@Arcalise08 it would likely be one of the “dotnet workloads” that is in either C:\Program Files\dotnet or C:\Program Files (x86)\dotnet. A fresh Windows install should certainly fix that, but hopefully isn’t the recommended step!

Anyway, I’m very happy you got it working, even if it was a pain to do so!

0reactions
Tksi2021commented, Nov 12, 2021

this is still an issue, new install of 2022 17.1 preview, can’t even run basic Maui new project (which creates WinUI project with no WinUI targeting selectable). Obviously I’m doing something wrong by simply installing 2022 17.1 preview with mobile package. !!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot known issues - .NET MAUI
NET MAUI through the Visual Studio installer, Visual Studio can enter a state where it can't locate the .NET MAUI workloads.
Read more >
Why is .NET MAUI app not running after compile?
NET MAUI project. I want to use the Visual Studio built-in "Build". Maybe this is some preview error or happening only in my...
Read more >
Is Maui dead on arrival? : r/dotnet
I am a WPF developer and since Microsoft basically killed WPF (not releasing any newer versions of it, not putting any more resources...
Read more >
Did .NET MAUI Ship Too Soon? Devs Sound Off on ' ...
As I've used to be a Xamarin dev I can tell MAUI won't be stable for a year. I've worked deeply on an...
Read more >
Cannot resolve type in UI for .NET MAUI
Hello Angus,. There is a logged issue in the official .NET MAUI GitHub repo for the schemas. The error could be because there...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found