[Mono-list] Compression Utility?

David P. Donahue ddonahue at ccs.neu.edu
Thu Jan 19 10:18:08 EST 2006


I'm using Mono 1.1.9 on my web server (have had some trouble getting 
newer versions to compile, but that's another story) and am trying to 
get the compression library SharpZipLib working.  I compile my own DLL 
for it in Visual Studio the same way I compile my web projects, and 
include it in a project just fine.

The problem, however, is that when my project references any SharpZipLib 
code, it always throws "Object reference not set to an instance of an 
object."  Everything works fine when I run on the local Windows machine, 
no problem.  But hosting it on Mono (Mod_Mono on Apache on Slackware) 
always throws that exception the moment it tries to instantiate any 
SharpZipLib class (even Crc32, which doesn't do anything at construction).

So my question is, has anybody had experience getting SharpZipLib to 
work under Mono?  Is there something simple I'm overlooking?  Or perhaps 
someone has had luck with another compression library (my goal is to 
just make some simple Zip files for users to download)?

Any help would be much appreciated, thank you.


Regards,
David P. Donahue
ddonahue at ccs.neu.edu


More information about the Mono-list mailing list