[Mono-list] Running mono applications from nonstandard path

Stefano Facchini stefano.facchini at gmail.com
Thu Dec 16 09:56:10 EST 2010


Hi,
I have compiled a mono application (Docky from bzr source repo) and
installed it in /opt/docky. In the same path I had previously installed
dbus-sharp and dbus-sharp-glib, also compiled from the git source.

Now, when I try to run it, I get the error:

Could not load file or assembly 'dbus-sharp-glib, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its
dependencies.
Missing method Init in assembly /opt/docky/lib/docky/Docky.exe, type
DBus.BusG

Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly 'dbus-sharp-glib, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=5675b0c3093115b5' or one of its dependencies.
File name: 'dbus-sharp-glib, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=5675b0c3093115b5'


I think that there are some environment variable to set, but I don't
know which ones. Can someone help me?

thank you




More information about the Mono-list mailing list