[Mono-list] [bug] cannot load dll located in current dir

Stefan Matthias Aust sma@3plus4.de
Tue, 26 Nov 2002 18:20:03 +0100


I found P#, a prolog for .NET written in C# (and ported from Java) and 
tried to run with mono 0.16.  It works, but only after I copied its 
associated DLL to c:/mono-0.16/install/lib.  With Microsoft's VES, it is 
sufficient to keep psharp.exe and psharp.dll in the same directory.  Is 
this a bug in mono, a problem with P#, or some undocumented feature of 
Microsoft's implementation?

Here's the URL in case somebody what's to try it out -> 
http://www.dcs.ed.ac.uk/home/jjc/psharp/psharp-0.1/dlpsharp.html

It looks like it uses

  System.Reflection.Assembly.Load("Psharp")

to load the DLL.  Pnet's ilrun can start pnet and load the dll but than 
has problems to read some metadata...


bye
-- 
Stefan Matthias Aust   //
www.3plus4software.de // Inter Deum Et Diabolum Semper Musica Est