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)
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
FrameworkReferenceadded by the corresponding SDK workload. The workload should also probably be in charge of carrying the correspondingKnownFrameworkReferenceinformation.In the .NET SDK, we will probably have to update the framework reference resolution to understand the target platform information. IE a
KnownFrameworkReferencefornet5.0should be available in a project targetingnet5.0-ios, but not vice versa.Additionally, we need to update the SDK to download runtime packs based on the
RuntimeIdentifiersproperty (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)