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
jeffhandley
left a comment
There was a problem hiding this comment.
I have a request for a new comment to be added; otherwise, approved.
carlossanlop
left a comment
There was a problem hiding this comment.
LGTM, but I'd like @safern / @ViktorHofer / @Anipik to help confirm the infra changes are fine.
…_invalid_platforms
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, UnupportedOSPlatformattributes 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