-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add iOS, Android, and macCatalyst into SupportedPlatform with the correct scope #16488
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. |
I think here is the behavior we want:
I believe we should:
|
This sounds similar to the |
Old issue triage, closing as it looks like it might have happened on the runtime side though unclear. Jeff can reopen if this is still something they are pursuing. |
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 includediOS
,Android
, andmacCatalyst
, but we found this to be too disruptive. Tools such as aspnetcore and the SDK itself encountered build warnings wheniOS
annotations were added to APIs such asProcess.Start
, surfacing that adding these annotations should be considered a breaking change. To mitigate that disruption, we've removediOS
,Android
, andmacCatalyst
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.The text was updated successfully, but these errors were encountered: