bp74 / Zstandard.Net

A Zstandard wrapper for .Net
Other
137 stars 27 forks source link

net45 variant requires netstandard library #9

Open emmanuel-andre opened 5 years ago

emmanuel-andre commented 5 years ago

When creating a .net framework project (here version 4.7.2) referencing the version 1.1.5 of the Zstandard.Net nuget package, the reference to System.Buffers v4.4.0 is automatically added to the project. But this reference points to the "netstandard2.0" variant and not to the "net45" one (for .net framework >= 4.5). At runtime, this leads to an IO exception (when .net core is not installed).