Update NuGet dotnet version to 6 and 8 and remove .netcoreapp2.0 #668
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 packagesI 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
orSearchValues
and provides nullability annotation for the standard library.