Closed mattkenefick closed 3 years ago
Try to run this command in elevated command prompt run command prompt as Administrator
dotnet workload install maui
also run this command after that
dotnet new -i Microsoft.Maui.Templates
@premingiet As mentioned, I was able to do that.
The purpose of this ticket is that maui-check
thought it was successful even after it wasn't.
Edit: Meaning that somewhere in the codebase, it's checking the wrong thing to validate a successful install.
Please try the latest version of maui-check with preview7, it should do a better job of getting things setup now that it is only using dotnet workload commands.
Windows 11 Pro (10.0.22000 Build 22000) dotnet 6.0.100-preview.6.21355.2 Visual Studio 2022 Preview
maui-check
, it failed to install all of the workloads.dotnet workload install maui-core
and was told I needed to elevate my permissions to install them.Everything was fine after launching Terminal as administrator and manually installing the cores, but I'm not sure why
maui-check
thought it worked when it didn't. I'm assuming maybe it generated some folders, but not the core files required.