tompazourek / NaturalSort.Extension

🔀 Extension method for StringComparison that adds support for natural sorting (e.g. "abc1", "abc2", "abc10" instead of "abc1", "abc10", "abc2").
MIT License
161 stars 12 forks source link

Add NetStandard 2.0 target #46

Closed kvpt closed 9 months ago

kvpt commented 9 months ago

NetStandard 1.x bring .NET Library as explicit dependency. image Add explicit NetStandard 2.0 target to prevent that for frameworks that support NetStandard 2.0 but not Net6.0 (NetStandard 2.0, NetCoreApp and Net5.0). This change reduce the number of dependencies to be installed for those frameworks.

For illustrate, the effect to update the library on a NET 5.0 project because of this issue. image

codecov[bot] commented 9 months ago

Codecov Report

Merging #46 (572c6aa) into master (090b30d) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   96.20%   96.20%           
=======================================
  Files           2        2           
  Lines          79       79           
  Branches       22       22           
=======================================
  Hits           76       76           
  Partials        3        3           
tompazourek commented 9 months ago

LGTM, thank you for your contribution. I'll release this shortly as 4.1.0