nhibernate / fluent-nhibernate

Fluent NHibernate!
BSD 3-Clause "New" or "Revised" License
1.66k stars 686 forks source link

Update NuGet dotnet version to 6 and 8 and remove .netcoreapp2.0 #668

Open bethmaloney opened 4 months ago

bethmaloney commented 4 months ago

Update the NuGet package to provide libraries for .NET 6.0 and 8.0. Also removed .NET Core 2.0 as it went EOL in 2018 (almost 6 years ago).

build.ps1 runs locally and the generated nuget package contains the .NET 6/8 packages image

I didn't add support for .NET 7.0 as it'll go EOL very soon (May this year). Let me know if you'd like to support it and I can add it in.

Adding later versions of .NET lets us use classes/functions such as Span or SearchValues and provides nullability annotation for the standard library.