[Mono-list] Dll loading failure

Timothy Graupmann tgraupmann@yahoo.com
Thu, 28 Apr 2005 13:05:57 -0700 (PDT)


What about:
-r "./dodaj.dll"

--- Jurek Bartuszek <koxta@koxta.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > Try putting dodaj.dll in the same directory as your exe.
> >
> > Here is the compile script I use that includes a dll.
> >
>
http://cvs.sourceforge.net/viewcvs.py/tagelflax/tagml/vc%237/CompileWithMonoConsole.cmd?rev=1.5&view=markup
> >
> > You just need this:
> > -r "dodaj.dll"
> 
> koxta@hell asm $ ls
> dodaj.asm  dodaj.dll  dodaj.o  main.cs
> 
> koxta@hell asm $ mcs -target:exe -o main.exe -r "dodaj.dll" main.cs
> error CS0006: Cannot find assembly `dodaj.dll'
> Log:
> 
> Compilation failed: 1 error(s), 0 warnings
> 
> Simple mcs main.cs succeeds, but then I get the exception. However, as I
> said, Windows handles this smoothly).
> 
> Regards,
> 
> Jurek Bartuszek
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFCcQB56l8uJkeTVlMRApqYAKC1N6ipeYTPCd86fasoAxMXFJpP7ACfdme+
> ELBpTVoaLJSAc/7YsNlENd4=
> =uwIS
> -----END PGP SIGNATURE-----
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com