Description
Xamarin.Mac for .NET (the net6.0-macos target framework) are like mobile platforms in that the app host should be disabled by default here:
https://github.com/dotnet/sdk/blob/c53c8ac81e1bcb8118c31bc4f5622396c72e9959/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.RuntimeIdentifierInference.targets#L118-L119
I'm not sure what's the best way to do it though, since the applicable RIDs (osx-x64/osx-arm64) are also used for other target frameworks where the app host shouldn't get the same behavior.
CC @akoeplinger