[MonoDevelop] Exception while trying to add a reference to GAC assembly

James Fitzsimons james.fitzsimons at gmail.com
Mon Jul 4 15:04:33 EDT 2005


Hi there,

On Mon, 2005-07-04 at 15:00 -0300, A Rafael D Teixeira wrote:
> On Sun, 2005-07-03 at 10:26 +0100, James Fitzsimons wrote:
> > Exception ocurred: System.Reflection.TargetInvocationException:
> > Exception has been thrown by the target of an invocation. ---
> > System.IO.FileNotFoundException: Assembly 3 referenced from assembly
> > MySql.Data.dll not found 
> 
> You need an specific version of ICSharpCode.SharpZipLib: 0.81.0.1407.
> Mono compiles a version 0.6 (or 2.6 for the 2.0 profile).
> 
> Even after that being corrected the provider may not work correctly,
> because currently it P/Invokes (calls native code) into Kernel32.dll,
> what is obviously non-portable to Linux/MacOS.

I dug into the source for the provider and noticed those Kernel32
imports. They made me very nervous, and as a friend of mine suggested I
have now switched to using NHibernate anyway (I'm not sure what
mechanism NHibernate uses to connect to MySql internally but it seems to
work pretty well so far).

Thanks very much,
James Fitzsimons
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://galactus.ximian.com/pipermail/monodevelop-list/attachments/20050704/0e686060/attachment.bin


More information about the Monodevelop-list mailing list