'How to load a .net MAUI solution on Visual Studio For Mac 2022 without installing Xamarin.Android?

I've created a .net MAUI solution on the Mac via the command line:

dotnet new maui -n "MyApp"

When I open this via Visual Studio For Mac 2022, it errors out because Xamarin.Android is not installed.

I'm not interested in supporting Android at this point, and the download for Xamarin.Android is large. Is there any way to load the solution without installing Xamarin.Android?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source