Skip to content

Add iOS, Android, and macCatalyst into SupportedPlatform with the correct scope #16488

Closed
@jeffhandley

Description

@jeffhandley

The Platform Compatibility Analyzer uses the MSBuild SupportedPlatform item to determine which platforms are included for platform compatibility checks. The default set of platforms included by the SDK previously included iOS, Android, and macCatalyst, but we found this to be too disruptive. Tools such as aspnetcore and the SDK itself encountered build warnings when iOS annotations were added to APIs such as Process.Start, surfacing that adding these annotations should be considered a breaking change. To mitigate that disruption, we've removed iOS, Android, and macCatalyst from the default set, but we need to find an appropriate way to include those platforms for scenarios where it makes sense--such as cross-platform class libraries.

Metadata

Metadata

Assignees

Labels

untriagedRequest triage from a team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions