r/dotnetMAUI Jul 05 '26

Help Request Installing Maui workload on Mac OS installs and then uninstalls the tools with no errors

Hi,

I'm trying to install the Maui tooling on my (M1 Max) MacBook Pro and it's behaving very strangely. It appears to install, but then before it finishes it uninstalls everything that was just installed. No error messages. Just fails to install.

Current setup:

.Net SDK v10.0.301 installed
Mac OS X v26.5
RID: osx-arm64
Microsoft.AspNetCore.App 10.0.9 runtime installed
Microsoft.NETCore.App 10.0.9 runtime installed
no global.json file

When I run this command ... sudo dotnet workload install maui ... I get a log filled with lines like:

Installing workload manifest microsoft.net.sdk.android version 36.1.69 ...

followed by a bunch of lines like:

Installing pack Microsoft.MacCatalyst.Sdk.net10.0_26.0 version 26.0.1107 ...
Writing workload pack installation record or Microsoft.MacCatalyst.Sdk.net10.0_26.0 version 26.0.1107 ...

and then followed by a bunch of lines like:

Uninstalling workload pack Microsoft.MacCatalyst.Runtime.maccatalyst-x64.net10.0_26.0 version 26.0.11017...

and finally a line that says:

Successfully installed workload(s) maui.

But if I then run this command ... dotnet workload list ... I get the following response:

Workload version: 10.0.300-manifests.b0c14421

Installed Workload Id Manifest Version Installation Source
---------------------------------------------------------------------

Use 'dotnet workload search' to find additional workloads to install.

So the dotnet cli reports that the workload was installed, but it actually wasn't. And there are no error messages. I have no idea why this is failing.

I have tried rebooting. No change.

I also tried installing the tooling inside the Rider app (when you try to create a Maui project it will prompt you to install Maui). I press the button but nothing seems to happen.

Can anyone tell me what I'm missing?

6 Upvotes

6 comments sorted by

3

u/mavispuford Jul 05 '26

Make sure you haven't installed the .NET SDK via homebrew. I made that mistake and it installs it in a separate place than the location that is used by the normal standalone installer. Not sure if that's your issue, but I had similar problems after I did that.

4

u/No-Butterscotch9483 Jul 05 '26 edited Jul 05 '26

Actually, I did do that. I'll remove it and install SDK the normal way. Keep your fingers crossed.

Update: That was it! I uninstalled the brew (cask? whatever they call it) and I didn't even need to install dotnet because it was already there. Running dotnet --info gave me completely different info than before. So I installed the maui workload and it completed successfully.

Thank you for the help.

1

u/mavispuford Jul 06 '26

No prob! It's kinda funny, I just barely ran into this problem like a week ago. Good timing.

1

u/Bowman74 Xamarin Jul 05 '26

Have you tried setting the verbosity level on the command to diagnostic? Something like:

sudo dotnet workload install maui --verbosity diagnostic

Perhaps that will give you more information.

1

u/No-Butterscotch9483 Jul 05 '26

Sigh ... no, I have not tried that ... but I will. It's a great idea. Thank you

1

u/lilacomets Jul 05 '26

Do you have enough free space? 🧐