-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply [SupportedOSPlatform] and [UnsupportedOSPlatform] annotations for new platforms in dotnet/runtime #44912
Comments
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. |
Is platform TFM superset of SupportedOSPlatformAttribute or is the expectation to still use it for such libraries? |
Platform TFMs will result in automatic application of the |
@buyaa-n @jeffhandley is this one done? |
OperatingSystem.IsIOS API is problematic #53084 is still open but it's being tracked individually, so we can close this out. |
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.
To accomplish this, we need to apply
[SupportedOSPlatform]
and[UnsupportedOSPlatform]
attributes throughout the .NET Libraries for these platforms.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.The text was updated successfully, but these errors were encountered: