Skip to content

AppHost should be disabled by default for macOS like it is for iOS / tvOS / Mac Catalyst / Android #53307

@rolfbjarne

Description

@rolfbjarne

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions