System.IO.Compression

I am trying to use System.IO.Compression in a compact framework 2.0 project. according to MSDN this should be available. Yet i only seem to have System.IO and System.IO.Ports. is there any reason as to why I can't access Compression is it not supported

Answer this question

System.IO.Compression

  • vitich

    You can try SharpZipLib http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx

    The 12/2006 release notes indicate that there were changes for the Compact Framework. I'm using selected classes from an older version of the library that I had made NETCF compatible.


  • NetPochi

    When will the System.IO.Compression class be added to the Compact Framework It sure would be nice to be able to add selected Framework classes to the Compact Framework in Visual Studio!

  • Tom08

    No, it's not supported, apparently a documentation bug. However, it looks like class members are marked correctly. If you open, say, DeflateStream class members, none of them are marked as available on devices.



  • Benin

    You could also use this with SharpZipLib makes it all very easy to use.
  • System.IO.Compression