azzlack / Microsoft.AspNet.WebApi.MessageHandlers.Compression

Drop-in module for ASP.Net WebAPI that enables GZip and Deflate support
Apache License 2.0
194 stars 54 forks source link

Why the dependency on Microsoft.Bcl.Compression in a .NET 4.5.1 targeted project? #32

Closed martyt closed 8 years ago

martyt commented 8 years ago

My project currently targets .NET 4.5.1, which as I understand it, already includes the GZipStream / DeflateStream classes that are brought in by the Microsoft.Bcl.Compression package.

Adding any of the ".Bcl.*" packages causes no end of grief, as I then get a warning in every assembly that reference my project complaining that it, too, must install Microsoft.Bcl.Build

Am I missing something or should your package not require Microsoft.Bcl.Compression if the project it's being installed to already targets .Net 4.5 or later?

azzlack commented 8 years ago

The latest version (2.0.0 and upwards) should not require the BCL libs at all, which version do you have installed?

martyt commented 8 years ago

I installed v2.0.3 into a project targeting .NET 4.5.1