[Mono-list] Could not find assembly ICSharpCode.SharpZipLib

Ian Joyce Ijoyce@aafp.org
Sun, 13 Jun 2004 13:00:52 -0500


Just an update, an error similiar to this happens with anything that
references ICSharpCode.SharpZipLib.

Ian


Ian Joyce
Internet Systems Programmer/Analyst
American Academy of Family Physicians
Research and Information Services
800-274-2237 ext 4219
>>> "Ian Joyce" <Ijoyce@aafp.org> 06/12/04 6:05 PM >>>
Hello,

I am trying to get the example at http://www.go-mono.com/mysql.html
running on rhel3.
The compile goes okay, but when running 'mono MySQLTest.exe' I get the
following problem.
-------------8<----------------8<----------------
** (MySQLTest.exe:5829): WARNING **: Could not find assembly
ICSharpCode.SharpZipLib, references from
/usr/lib/mono/gac/ByteFX.Data/0.7.6.1__0738eb9f132ed756/ByteFX.Data.dll
(assemblyref_index=7)
     Major/Minor: 0,31
     Build:       0,0
     Token:       1b03e6acf1164f73

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required.
-------------8<----------------8<----------------

I have ICSharpCode.SharpZipLib.dll:
# find / -name ICSharpCode.SharpZipLib.dll
/usr/lib/mono/1.0/ICSharpCode.SharpZipLib.dll
/usr/lib/mono/2.0/ICSharpCode.SharpZipLib.dll
/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll

And here are my mono rpms:
# rpm -qa | grep mono
mono-core-devel-0.95-1.ximian.6.2
mono-novell-directory-0.95-1.ximian.6.2
mono-ikvm-0.95-1.ximian.6.2
mono-peapi-0.95-1.ximian.6.2
mono-web-forms-0.95-1.ximian.6.2
mono-winforms-0.95-1.ximian.6.2
mono-basic-0.95-1.ximian.6.2
mono-remoting-0.95-1.ximian.6.2
mono-cairo-0.95-1.ximian.6.2
monodevelop-0.4-1.ximian.6.2
mono-data-0.95-1.ximian.6.2
mono-drawing-0.95-1.ximian.6.2
mono-core-0.95-1.ximian.6.2
mono-xml-relaxng-0.95-1.ximian.6.2
mono-ms-enterprise-0.95-1.ximian.6.2
mono-web-services-0.95-1.ximian.6.2
mono-ziplib-0.95-1.ximian.6.2
mono-directory-0.95-1.ximian.6.2
mono-preview-0.95-1.ximian.6.2
mono-runtime-devel-0.95-1.ximian.6.2
monodoc-0.16-1.ximian.6.0
mono-nunit-0.95-1.ximian.6.2

Any help would be appreciated.

Cheers,
Ian
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list