[MonoDevelop] Cross-platform GUI application with MonoDevelop

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Jul 3 02:49:58 EDT 2008

On Wed, Jul 2, 2008 at 11:02 PM, Luciano _ <lnc19 at hotmail.com> wrote:
> Hi All,
> I'm changing the Gtk# Target like you told me (In a previous message, with
> the MonoDevelop Gtk# Compilation Support Plugin), but after some test, i'm
> having other problem, I'm trying to use Gecko WebControl within my app (OT:
> Actually doesn't show anything :) but i will Investigate a little more
> latter, it works but it doesn't show the WebControl, the same happen with
> the Gecko samples from SVN), and when i build my solution with Gtk# 2.8.3 or
> 2.10.0 target (Both are available version for Windows) that aren't present
> at my Ubuntu, it says that Gtk.Window is defined multiple times , if i
> target to  2.12 (that is present on my Ubuntu 8.04 version) it succefully
> compile. The exact accurate error is: "The imported type `Gtk.Window' is
> defined multiple times(CS0433)".  (If i
> ¿Any clue to solve this?

Oh, yes, that's the caveat with the multi-targeting GTK# compilation
-- everything has to be built against that version or older -- but the
gecko# library you're using references GTK# 2.12.

Try using a gecko# dll extracted from a package that uses GTK# 2.8
(e.g the rpm for SLED 10). You only need to use it for the for the
build: add it as as assembly reference, with local copy disabled. At
runtime the one in the GAC will work fne.

Michael Hutchinson

More information about the Monodevelop-list mailing list