Re-targeting libraries

📆

👤

We used to make libraries that target .NET Standard 2.1 and .NET Framework 4.8 as minimum requirements since most of our libraries came from the source code of Kernel Simulator.

Over time, new libraries get released, targeting the .NET Standard 2.0 framework to provide support for the widest range of .NET versions possible.

Unfortunately, one of the libraries got warnings from the building system that stated that the Extensification .NET Framework version was in use instead of the targeted version.

As a result, we made a plan to remove this warning by re-targeting all our libraries to .NET Standard 2.0. The following libraries are affected: (Names from their parts)

As a result, the warnings are removed when building the affected libraries. There is only one library to which we can’t apply this change: LineNumbers.Core. It uses Microsoft.Build to process the Visual Studio solution and project files.

As a result, libraries that target .NET Standard 2.0 now no longer see the warning after upgrading the abovementioned libraries.

Now, you may ask why. The reason is that we want to prioritize compatibility over feature parity for libraries.

Enjoy coding!


Discover more from Aptivi

Subscribe to get the latest posts to your email.

Thoughts?

Subscribe to our newsletter?

Subscribe today to get new articles instantly delivered to you!

Not now

Design a site like this with WordPress.com
Get started