Skip to content

Support providing OS APIs from targeted platform #11234

@dsplaisted

Description

@dsplaisted

When a project targets iOS or Android, the operating system API projections should be available to the project at compile time.

This should be via an implicit FrameworkReference added by the corresponding SDK workload. The workload should also probably be in charge of carrying the corresponding KnownFrameworkReference information.

In the .NET SDK, we will probably have to update the framework reference resolution to understand the target platform information. IE a KnownFrameworkReference for net5.0 should be available in a project targeting net5.0-ios, but not vice versa.

Additionally, we need to update the SDK to download runtime packs based on the RuntimeIdentifiers property (plural). This is so that a device app can specify multiple architectures that the produced package should support. (EDIT: Turns out this is already supported. See #11637)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions