« Return to Thread: portabilty with Windows and Linux

Re: portabilty with Windows and Linux

by Luciano _ :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi:
I was having the same issue some days ago, and Michael Hutchinson explain me:

When you change the GtkSharp target, from 2.12 to 2.10 or even 2.8.3, it changes the Referenced library's to this version, but, if you have other Library, wich depends on 2.12, it will fail with that error.
This issue happen if you use Gecko-Sharp.dll (to name one) compile against Gtk-Sharp 2.12, and your trying to target 2.10.
If this is the problem (with Gecko-Sharp or other dll compiled agains Gtk-Sharp 2.12) and you need to compile with that library, you only need to find a pre-compiled dll, with the Correct version, (In my example, Gecko-Sharp.dll compiled against 2.10, was found in Mono SLED package) and reference THIS dll.

You can see the answer that i get here:
http://lists.ximian.com/pipermail/monodevelop-list/2008-July/007909.html
 
Bye
Luciano







> Date: Tue, 15 Jul 2008 23:14:59 -0700

> From: blue_phantom20045@...
> To: gtk-sharp-list@...
> Subject: Re: [Gtk-sharp-list] portabilty with Windows and Linux
>
>
> Hello!
>
> Thanks! that really works, but now I have a new problem (I'm sorry for waste
> your time =( )
>
> The problem is that if I create a new project, and select any version of
> gtk-sharp... when I put the fixer container and try to run the app. I get
> this error:
>
> The imported type `Gtk.Window' is defined multiple times(CS0433)
>
> If i make double click the message, show me this line:
>
> public partial class MainWindow: Gtk.Window
>
> What should be the problem???
>
> =S
>
> Thanks
> --
> View this message in context: http://www.nabble.com/portabilty-with-Windows-and-Linux-tp18436724p18480930.html
> Sent from the Mono - Gtk# mailing list archive at Nabble.com.
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list@...
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



Use video conversation to talk face-to-face with Windows Live Messenger. Get started.
_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

 « Return to Thread: portabilty with Windows and Linux