I've downloaded the latest version of Visual Studio for Mac Preview and attempting to create a .NET MAUI app. I'm not able to build and run the solution as "The solution requires .NET SDK Workloads that are not currently installed."
If I click on Install, this shows but it doesn't appear to do anything.
If I go into the terminal and enter dotnet workload list
that outputs no workloads installed. If I run sudo dotnet workload install
that outputs zsh: segmentation fault sudo dotnet workload install.
What do I need to do in order to be able to run MAUI apps on my Mac as I was looking forward to developing them.
I managed to resolve my issue by doing the following:
I made a global.json with the following contents:
{ "sdk": { "version": "6.0.400", "rollForward": "latestFeature" } }
I installed the legacy Xamarin iOS SDK option in the Visual Studio for Mac installer.