[Mono-list] Dll loading failure

Michal Moskal Michal Moskal <michal.moskal@gmail.com>
Thu, 28 Apr 2005 17:47:57 +0200


On 4/28/05, Jurek Bartuszek <koxta@koxta.net> wrote:
> > Try putting dodaj.dll in the same directory as your exe.
>=20
> koxta@hell asm $ ls
> dodaj.asm  dodaj.dll  dodaj.o  main.cs
>=20
> koxta@hell asm $ mcs -target:exe -o main.exe -r "dodaj.dll" main.cs
> error CS0006: Cannot find assembly `dodaj.dll'
> Log:
>=20
> Compilation failed: 1 error(s), 0 warnings

How did you compile asm->dll?=20

The file needs to be in the ELF format, linked as a shared library.
Specifically using dll from Windows won't work.

--=20
   Michal Moskal,
   http://nemerle.org/~malekith/