[Gtk-sharp-list] Windows gtk-sharp 2.12 assembly

Kenneth D. Weinert kenw at quarter-flash.com
Tue Jul 29 00:03:08 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I *thought* I had done that - but I don't seem to have gotten rid of the
2.12 gtk# reference.

/home/kenw/Projects/GTKGladeTutorial/GTKGladeTutorial/gtk-gui/generated.cs(27,27):
error CS0433: The imported type `Gtk.ActionGroup' is defined multiple times
/home/kenw/.config/MonoDevelop/addins/MonoDevelop.GtkCore.GtkSharp.2.10.2.10.0.20/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll
(Location of the symbol related to previous error)
/usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
(Location of the symbol related to previous error)

I edited my References and chose the 2.10 GTK# and the 2.12 is not there
now. I looked at the files in the Project (fgrep is your friend :) and I
did find that the .mdp file had this at the end:

<GtkDesignInfo gtkVersion="2.12.0" />

I edited that to say 2.10, exited and restarted MonoDevelop to no avail.

Any thoughts?  This project was started with GTK# 2.12 and it compiled
and ran just fine.

Michael Hutchinson wrote:
> On Sun, Jul 27, 2008 at 11:34 PM, Michael Hutchinson
> <m.j.hutchinson at gmail.com> wrote:
>> On Sun, Jul 27, 2008 at 11:28 PM, Plex <plexer at gmail.com> wrote:
>>> I've run in to a problem distributing my mono app as there is (I
>>> believe) currently no 2.12 assembly for Windows.
>>>
>>> Would some kind soul be able to instruct me as to how to build my
>>> application against 2.10 instead?
>>>
>>> I'm using monodevelop on Ubuntu Hardy.
>> Install the GTK# 2.10 via the MD addin manager, and set the target
> 
> Uh, make that the "GTK# 2.10 addin". I should probably be going to bed...
> 


- --
Ken Weinert
http://quarter-flash.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIjpZ8H0OpnUzq8fARAvb5AJ9I0rNYCs40OPGX3ZRkUFdYmdA3KwCgi5K7
hm9nEUP7rJpIR1vr44Mixzw=
=Lx4M
-----END PGP SIGNATURE-----


More information about the Gtk-sharp-list mailing list