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.

Suggest alternative actions when MAUI Templates are not installed with VS 2022 Preview 6.0

See original GitHub issue

Description

Originally requested in dotnet/AspNetCore.Docs as issue #25794.

During the MAUI Blazor docs tutorial, I could not follow the steps, as I did not have the templates installed in Visual Studio 2022 Preview 6.0.

image

After several installations and uninstallations of Visual Studio 2022 Preview 6.0 the MAUI templates still did not show up in the “New Project” screen, and I was totally lost.

image

I found a solution where I queried the dotnet new --search MAUI, and found a dotnet template package that included these templates mentioned in the tutorial. image

My suggestion is that the tutorial could mention that the MAUI Templates are aquireable with the dotnet new -i Microsoft.Maui.Templates command.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Public API Changes

Not an API request

Intended Use-Case

I want to be able to follow the tutorial outlined in the following docs: https://docs.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/maui?view=aspnetcore-6.0 My suggestion is that the tutorial could mention that the MAUI Templates are aquireable with the dotnet new -i Microsoft.Maui.Templates command.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Tonurcommented, Jun 17, 2022

Thank you guardrex, I appreciate you adding it. Sorry for comming across harsh, I meant no disrespect.

1reaction
guardrexcommented, Jun 17, 2022

@Tonur … During preview, we typically only document workarounds for known bugs if the product unit isn’t able to resolve the problem quickly. Since it’s now known that this may linger for a little while, I’ll add a note to the doc and remove it at GA.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Suggest alternative actions when MAUI Templates are not ...
Suggest alternative actions when MAUI Templates are not installed with VS 2022 Preview 6.0 #3643 · Jobs · Run details.
Read more >
How to get missing .NET MAUI templates in Visual Studio?
The short answer is that my Visual Studio was not a Preview version of Visual Studio and my Maui templates were not installed....
Read more >
Unable to re-open MAUI project in Visual Studio 2022 (not ...
The alternative is to still use the Visual Studio 2022 Preview edition which allows us to use MAUI templates pretty well.
Read more >
Update on .NET Multi-platform App UI (.NET MAUI)
First thing's first, remove all previous installations of .NET 6 and Visual Studio 2022 previews from your Windows control panel. Now install ...
Read more >
Announcing .NET MAUI in .NET 8 Preview 6: Hello VS ...
Enable .NET 8 in Visual Studio 2022 for Mac. Download the .NET 8 preview 6 installer, and then install .NET MAUI from the...
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