Dimitar Dobrev wrote: > I installed GTK# from > http://ftp.novell.com/pub/mono/gtk-sharp/gtk-sharp-sdk-2.12.7.msi here . I > am now trying to compile > http://medsphere.org/community/project/openvista-cis OpenVista CIS but it > fails. The problem is that the method CairoHelper.Create in gdk-sharp > returns an object of the type Context from the assembly Mono.Cairo, 2.0.0.0, > 35e10195dab3c99f, while the Mono.Cairo included in the installer is 2.0.0.0, > 0738eb9f132ed756. I.e., the public key tokens are different. The project can > be compiled by using > http://medsphere.org/community/project/openvista-cis/blog/2008/10/02/gtk-212-win32-installer > MedSphere's own installer , but I think this is a bug in the Novell > installers anyway. > Hum, we seem to have two issues here: 1. Why does Gtk# link against version 2 of Mono.Cairo? Version 1.x would be the correct choice in my opinion. 2. If Mono.Cairo is included into the build, why does this assembly have the same public key as Gtk#(35e10195dab3c99f)? 0738eb9f132ed756 would be the correct.
Number two is a clear bug, I have filed a report on it: https://bugzilla.novell.com/show_bug.cgi?id=464059 What are your thoughts about that, Mike? Alan Battersby seems to have a similar issue: > Thanks, > My solution contains 4 projects, two use cairo. When I looked, the > references for Mono.Cairo in those projects were to version 1.5 so I set > to 2.0 and it all rebuilt ok. So moral is be very awake when adding > references to your project. > > Alan _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list