Workload ID maui is not recognized.

Hello, I am on MacOS on an apple sillicon M2 chip. I have spent countless hours trying to install maui from dotnet@8. Specifically 8.0.114. I hae tried uninstalling homebrew, dotnet, getting it from the website, unintalling xcode, vscode, rider, and reinstalling all of it but still cannot find the issue. When prompting " sudo dotnet workload install maui" i am met with "Workload ID maui is not recognized." when i try to search the workload for maui its not there. My workload itself is tiny and barely has anything in it. I went to my universities help desk and worked countless hours with my C # professor to get it installed but no luck. I'm falling behind in my class and really really really don't want to have to do a semester long project on VM.
6 Replies
Mierk
Mierk2w ago
We had the same issue at work, it’s somewhere in the confluence docs over there. I can check it in 9-10 hours… I remember something about having to download it manually from the website. Then using a dotnet Maui command pointing to that installer file. But I might have mixed it up with something else though 😅
bear jr ₊˚⟡
bear jr ₊˚⟡OP2w ago
Thank you so much! I thought I tried that but maybe I didn’t do it correctly
Mierk
Mierk2w ago
Hmm.. it wasn't the same issue apparently, but this is in our docs:
Mierk
Mierk2w ago
.NET installation 1. SDK download location First, you must download the .NET sdk. You can find the latest version: https://dotnet.microsoft.com/en-us/download/dotnet 2. Install workloads (Maui) After you’ve installed the .NET sdk and want to develop for Maui, you must install the correct Maui workload using the following command: sudo dotnet workload install maui Your Maui workload version doesn’t have to match your project’s Maui Nuget version. For example: Maui workload 8.0.7 is perfectly compatible with Maui Nuget version 8.0.10, and it’s recommended to keep your Maui Nuget version up-to-date. Extra commands that shouldn't be necessary, but might fix some issues: sudo dotnet workload install maui-ios sudo dotnet workload install maui-android sudo dotnet workload install android
Microsoft
.NET Downloads (Linux, macOS, and Windows)
Official .NET downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.
Mierk
Mierk2w ago
That's all I got unfortunately 😦
bear jr ₊˚⟡
bear jr ₊˚⟡OP2w ago
ya thank you I did this and it didn’t work :( @Mierk but I appreciate u looking into it

Did you find this page helpful?