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

Remove Microsoft.Bcl dependency in .net4.5 #17

Closed brenovieira closed 8 years ago

brenovieira commented 9 years ago

It would be nice if there weren't these dependencies when targeting .net 4.5 (or 4.5.2 in my use case): Microsoft.Bcl, Microsoft.Bcl.Build, Microsoft.Bcl.Compression.

AFAIK, these packages are used only for backward compatibility with .net 4, for example, to use async await. But in .net 4.5, I don't need them.

In my project these 3 packages were added just to use Microsoft.AspNet.WebApi.MessageHandlers.Compression.

What do you think ?

mihasic commented 9 years ago

Microsoft.Bcl.Compression is not for .net 4 (it doesn't even support it). It was renamed to System.IO.Compression, but the later is still a pre-release.

gdoron commented 8 years ago

+1

azzlack commented 8 years ago

Fixed in cf3ccea2c54fe62aeae4aa783ba5fc7e352ee70b