-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add PlatformNotSupported exception for APIs/platforms not supported in .NET Core #1683
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
For now, wiki has the information on PNSE: https://github.com/dotnet/corefx/wiki/ApiCompat |
Including @weshaggard as he may have more insight into api level differences across platform. |
The corefx wiki is gone now. Was the source for the apicompat page saved anywhere? |
Thanks @ViktorHofer for your help recovering that info. I copied the old contents of api compat into a gist for now: |
This really is a huge complication when moving from .NET Framework -> .NET 5. Everything compiles without warning (even though the TargetPlatform is known at compile time) and runs fine until a runtime exception. The API documentation gives no indication of what parts of an API might not be supported. The documentation for |
Good point. I have filed this user story, which would also ensure that shows up in the docs. |
APIs might have a different behavior depending on the platform in .NET Core and might throw the PlatformNotSupported exception. We need to call that out in the Exception section of the APIs impacted.
I remember seeing spreadsheets flowing around with that information @terrajobst. Do we have the latest version of that @terrajobst?
/cc @bartonjs
The text was updated successfully, but these errors were encountered: