[MonoDevelop] Error when run an executable

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Mar 4 17:20:18 EST 2009

On Tue, Mar 3, 2009 at 4:10 AM, darkprince87 <sa.guarda at hotmail.it> wrote:
> **
> (/home/saverio/Scrivania/test_application/test_application/bin/Debug/test_application.exe:6903):
> WARNING **: The following assembly referenced from
> /home/saverio/Scrivania/test_application/test_application/bin/Debug/test_application.exe
> could not be loaded:
>     Assembly:   gtk-sharp    (assemblyref_index=1)
>     Version:
>     Public Key: 35e10195dab3c99f
> The assembly was not found in the Global Assembly Cache, a path listed in
> the MONO_PATH environment variable, or in the location of the executing
> assembly
> (/home/saverio/Scrivania/test_application/test_application/bin/Debug/).
> I'm sure to have the gtk-sharp installed because i've manually compiled
> it... anyone can help me? please

The error messages are very clear. You didn't install GTK# to the Mono
GAC. If you're not familiar with building from source, I strongly
suggest using packages so you won't have issues like this.

Assuming you installed GTK# to /usr/local, you can work around your
installation issues with
export MONO_GAC_PREFIX=/usr/local


Michael Hutchinson

More information about the Monodevelop-list mailing list