[MonoDevelop] Exception occurred: Invalid event name Window.MoveFocus

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Dec 27 13:24:50 EST 2007


On Dec 27, 2007 12:30 PM, Paul Bourke <pauldbourke at gmail.com> wrote:
> On a slightly different topic, I have being trying to compile and install a
> slightly less recent version of gtk-sharp (2.8.4) to see if it solves the
> problem but am getting the following compiler error:
>
> ** (/usr/local/lib/mono/1.0/mcs.exe:17810): WARNING **: The following
> assembly referenced from /home/paul/tmp/gtk-
> sharp-2.8.4/gnome/gnome-sharp.dll could not be loaded:
>      Assembly:   art-sharp    (assemblyref_index=4)
>      Version:    2.8.0.0
>      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/paul/tmp/gtk- sharp-2.8.4/gnome/).
>
> Why can't it find this dll when it is part of the gtk-sharp installation
> process?  The configure script runs fine..

The configure scripts use pkgconfig to find assembly packages at
compile time. However, it's possible for them to be installed in a GAC
in a prefix that Mono doesn't search by default at runtime, e.g.
/usr/local, becuase th Mono GAC paths and the pkgconfig search paths
are independent. Setting MONO_GAC_PREFIX=/usr/local (or whatever) will
fix this.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list