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
Revert "[generator] Disable [SupportedOSPlatform] until .NET 5/6. (#781)" (#841)
Context: dotnet/android#5338
This reverts commit 00862ad.
Now that we are properly building with `$(TargetFramework)`=net6.0
(4d0cba6), we can re-enable the `[SupportedOSPlatform]` support,
as originally introduced in da12df4.
Emit the [`System.Runtime.Versioning.SupportedOSPlatformAttribute`][0]
custom attribute which is used to specify on which platforms and
platform versions an API is available. This is used to build analyzers
to give users warnings if they are trying to use an API when it will
not be available on their target platform.
[0]: https://docs.microsoft.com/en-us/dotnet/api/system.runtime.versioning.supportedosplatformattribute?view=net-5.0
0 commit comments