omar / ByteSize

ByteSize is a utility class that makes byte size representation in code easier by removing ambiguity of the value being represented. ByteSize is to bytes what System.TimeSpan is to time.
MIT License
558 stars 50 forks source link

Upgrade to .Net Standard 2.0 #34

Closed balbarak closed 5 years ago

balbarak commented 6 years ago

Useful library, kindly migrate to Net Standard 2.0 to reduce the dependencies with the library

omar commented 6 years ago

The support for .NET Standard 2.0 should be transparent, that is, since it supports netstandard 1.0, it automatically supports netstandard 2.0. The additional dependencies you're seeing only apply when targeting netstandard 1.0, if your project is netstandard 2.0, no additional dependencies should be pulled in.

If more dependencies are being pulled in, can you show where that's happening?

omar commented 5 years ago

Version 2 will only support .NET Standard 2.0, see alpha version here https://www.nuget.org/packages/ByteSize/2.0.0-alpha1 and PR #24