-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Resolve unknown platform name warnings #50193
Conversation
Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti Issue DetailsFixes #49323, Related to #45851 Now we have a new analyzer "Referring to unknown platform names should result in warnings" which validate platform name and version of
|
Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer Issue DetailsFixes #49323, Related to #45851 Now we have a new analyzer "Referring to unknown platform names should result in warnings" which validate platform name and version of
|
2131107
to
479d0ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a request for a new comment to be added; otherwise, approved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I'd like @safern / @ViktorHofer / @Anipik to help confirm the infra changes are fine.
Fixes #49323, Related to #45851
Now we have a new analyzer "Referring to unknown platform names should result in warnings" which validate platform name and version of
SupportedOSPlatform, UnupportedOSPlatform
attributes parameter and warn accordingly. By running the analyzer in runtime found dozens of warnings mostly on attributes generated in AssemblyInfo.cs file added by the target platforms, see #49323 for more details. This PR:UnsupportedOSPlatform("browser")
attribute on .net framework, add name "browser" into MSBuild SupportedPlatforms list for netstandard and netcoreapp buiilds