Issue
I tried to create Maui project in windows using visual studio developer command prompt using
Command :
dotnet new maui
But Its not creating Maui project,Getting Error message No templates found matching : maui
I installed the .Net 5 and visual studio 2019 in my machine.
Solution
It's now recommended to create .NET Maui apps with Visual Studio according to their current documentation.
Older suggestion:
I'd recommend using the check tool provided. This will install the templates for you and make sure everything else is present to develop using Maui.
Install: dotnet tool install -g redth.net.maui.check
Run: maui-check --dev
This will check for:
OpenJdk / AndroidSDK .NET 6 Preview SDK .NET MAUI / iOS / Android workloads and packs .NET MAUI Templates Workload Resolver .sentinel files for dotnet and Visual Studio Windows/Mac Currently does not install workloads required for WinUI3
Answered By - Jimenemex
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.