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?