Skip to content
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 .NET Standard 2.0 support #62

Open
Metadorius opened this issue Dec 14, 2023 · 1 comment
Open

Add .NET Standard 2.0 support #62

Metadorius opened this issue Dec 14, 2023 · 1 comment

Comments

@Metadorius
Copy link

Would it be possible for the driver to support .NET Standard 2.0? .NET Standard 2.1 is honestly not that useful compared to 2.0 because 2.0 is supported on .NET Framework 4.6.1+, and 2.1 is only supported on .NET Core and more recent version. According to the documentation by MS that version supports most of the stuff that's needed for libraries. What's not supported can be polyfilled/backported like AsyncInterfaces.

@Metadorius
Copy link
Author

So far what I discovered:

  • WebSocket.Client needs to be downgraded to 4.7.0 on .NET Standard 2.0;
  • Ideally System.Threading.Channels should have async versions added into the .NS2.0 version (see Add missing Async methods to System.Threading.Channels on .NET Standard 2.0 dotnet/runtime#96039);
  • Default interface implementation (thankfully there's only one and it's so insignificant that it can be not used at all);
  • Some more tweaks here and there like string not able to be converted to ReadOnlySpan<char> implicitly or HTTP client not having some async methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant