[Mono-list] Dll loading failure
Jurek Bartuszek
koxta@koxta.net
Thu, 28 Apr 2005 17:25:45 +0200
-----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-----