-
Notifications
You must be signed in to change notification settings - Fork 471
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
Should we stop testing on .NET Core 2.1 and 3.1? #683
Comments
+1 to drop it also make sense:
|
Completely agree. We explicitly build for .NET 6 so I'd test for .NET 6. .NET Standard support in the library is just a bonus.
If we're talking a major release, then this seems logical with .NET 6 support ending in 2 months. I can't make comment about .NET Standard versions without looking into why we added 2.1. |
I'd have to go check, too, but IIRC:
If we want to play nice with the .NET ecosystem, we may want to consider coordinating future supported TFMs with these other projects. |
Drop .NET Standard 2.1 should not affect ecosystem because we still have .NET Standard 2.0 .NET Standard 2.1 was just an small optimization (have more built-in api => less external deps) for runtimes that already deprecated (.NET Core 3, Xamarin, .NET 5) Do we have a custom support policy or we just follow official Microsoft support policy? Today all new libraries from dotnet team support:
Also you will see a warning\error for .NET Standard 2.0 on older runtimes that MS do not test for them and recommend to update to supported runtimes |
Some intersting facts about .NET Standard 2.0 State of .NET Standard 2.0 in 2024:
My private opinion:
|
Oh, that reminds me, .NET Standard 2.1 has an API missing in 2.0 that is beneficial for DynamicProxy. So perhaps we should keep 2.1, not 2.0 (if we keep targeting .NET Standard at all). |
We definitely cannot drop now NS 2.0, because, as you described here, it will affect libraries that depends on castle core lib We can drop 2.1 because libs (FakeItEasy, Moq, NSubstitute, etc.) with NS 2.1 tfm will automatically pick NS 2.0 version. If we want also drop NS 2.0, I agree, we need to align it with other libraries and maybe make a buffer in 6+ month for them to adopt |
On recent builds, we get a bunch of out-of-support warnings for .NET Core 2.1 and 3.1:
For .NET Core 2.1, we additionally get security vulnerability warnings:
Simply suppressing those warnings doesn't seem right, I think we should first decide whether or not we want to continue supporting those out-of-support frameworks at all.
See also:
The text was updated successfully, but these errors were encountered: