You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Apply [SupportedOSPlatform] and [UnsupportedOSPlatform] annotations for new platforms in dotnet/runtime #44912
In .NET 6.0, we will be adding support for new platforms including iOS, Android, macOS, iPadOS, and tvOS. As support for these platforms is enabled, we need to inform the Platform Compatibility Analyzer of which APIs are specific to those platforms and which APIs are unsupported on them.
We also need to ensure the SDK infers the appropriate <SupportedPlatform> items for projects targeting these platforms. This behavior already exists for Blazor apps where <SupportedPlatform Include="browser" /> is inferred.
changed the title [-]Apply [SupportedOSPlatform] and [UnsupportedOSPlatform] annotations for new platforms[/-][+]Apply [SupportedOSPlatform] and [UnsupportedOSPlatform] annotations for new platforms in dotnet/runtime[/+]on Nov 27, 2020
Platform TFMs will result in automatic application of the [assembly:SupportedOSPlatform] attribute for the targeted platform. But we'll need to enable checking of our new platforms in the build, and we'll also need to apply attributes for any specific APIs that have platform dependencies.
Activity
Dotnet-GitSync-Bot commentedon Nov 19, 2020
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
marek-safar commentedon Nov 19, 2020
Is platform TFM superset of SupportedOSPlatformAttribute or is the expectation to still use it for such libraries?
[-]Apply [SupportedOSPlatform] and [UnsupportedOSPlatform] annotations for new platforms[/-][+]Apply [SupportedOSPlatform] and [UnsupportedOSPlatform] annotations for new platforms in dotnet/runtime[/+]jeffhandley commentedon Dec 15, 2020
Platform TFMs will result in automatic application of the
[assembly:SupportedOSPlatform]attribute for the targeted platform. But we'll need to enable checking of our new platforms in the build, and we'll also need to apply attributes for any specific APIs that have platform dependencies.joperezr commentedon Aug 5, 2021
@buyaa-n @jeffhandley is this one done?
jeffhandley commentedon Aug 5, 2021
OperatingSystem.IsIOS API is problematic #53084 is still open but it's being tracked individually, so we can close this out.