by feoren · 2w ago · 0 comments
Either you should not be forced to upgrade, or backward compatibility should be guaranteed -- not both. But Microsoft is happy to say "hey, we're going to completely abandon support for every version of .NET every 2 years, and if you can't keep up to date then everything that goes wrong is all your fault." Meanwhile, they have no problem breaking your code.
This essentially kills the possibility of just writing a bunch of small, useful libraries, and having them be useful forever. It is the antithesis of a healthy software ecosystem. Are you really expecting that every single open source library that is referenced by a reference of your references is going to be maintained in the face of breaking changes every 2 years? If not, then upgrading your version of .NET is just a gamble that things won't randomly break. But you must upgrade, or you're a bad developer who's leaving your apps vulnerable and every automated security checking system in the world will yell at you about how awful you are. You must upgrade everything you have ever written every two years, and hope that every library you've ever depended on does the same, or you are putting yourself at risk of some breaking change sneaking its way in, or leaving yourself vulnerable to a critical security issue that Microsoft refuses to back-apply.
I cannot understand why I'm the only one shouting from the rooftops about this. It's completely unacceptable to me.
I personally saw, this week, an internal library that worked in .NET 8 but threw runtime errors when built in .NET 10. Previously working code can just break in subtle ways, and it could be anywhere, in any library in your chain of dependencies. In an ecosystem where you are forced to upgrade every 2 years, this is not OK. This is not a feasible way to build an ecosystem of interconnected libraries, and I believe the only reason it's not more painfully obvious is that .NET Core just isn't that old yet. This is going to hurt more and more as time goes on.
There's a reason Microsoft was obsessed with backward compatibility between 1980 and 2016. This never happened with .NET Framework. I don't know why Microsoft suddenly decided backward compatibility no longer matters, but it's a big mistake.
https://learn.microsoft.com/en-us/dotnet/core/compatibility/...