-
Notifications
You must be signed in to change notification settings - Fork 335
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
Increase framework requirements to net461, netstandard2.0 #506
Comments
I think it is good idea to keep builds for netstandard1.3 / net45 (maybe, with reduced API), as this allows to use MySqlConnector even in legacy projects. Personally I still have .NET Core 1.1 webapp which uses MySqlConnector; I planning to upgrade it in future, but currently it just works and it is cool that I can update dependencies to get latest fixes. As .net components developer (I use MySqlConnector in some examples) I have feedback from many customers, and reality is that still a lot of people use legacy targets (net45) for various reasons. I'm trying to have netstandard1.5/net45 targets in my components. It is possible to organize code without messy conditional compilation everywhere - instead of that target-specific code can be concentrated in special extension methods, that have different implementations for legacy targets, for example: https://github.com/nreco/data/blob/master/src/NReco.Data/NetStandardCompatibility.cs . |
What about cutting a Then master would start releasing to This would provide users of older frameworks an option, while allowing us to avoid messy conditional compilation. |
Something I forgot to mention in my OP is that
|
It'd be really nice if NuGet could provide data (even if only to the package owners) on which platforms were actually being targeted when the package is downloaded. |
While writing (for example) new |
The current
TargetFrameworks
arenet45;net46;netstandard1.3;netstandard2.0
.Now that .NET Core 2.1 and
Span<T>
have been released, I'm considering whether it's time to dropnetstandard1.3
and raise the minimum .NET Framework to 4.6.1.System.Memory has
net461
as an explicit dependency. And despite what the docs say (maybe I'm doing something wrong?),DbColumn
appears to be available in .NET 4.6.1, which would remove the need to shim it. Meanwhile, dropping .NET 4.5 saves a lot of code: bgrainger@f104e71As per https://twitter.com/Nick_Craver/status/1001272947032711168 it may be time to standardise on
netstandard2.0
in the ecosystem. Amazon Lambda now supports .NET Core 2.0; it seemed to be the biggest reason people were usingnetstandard1.3
previously.For all these reasons, it seems beneficial to move to
net461
andnetstandard2.0
. Please reply if you would be negatively impacted by the removal ofnetstandard1.3
,net45
, andnet46
support from MySqlConnector.The text was updated successfully, but these errors were encountered: