[Gtk-sharp-list] dependency Mono.Cairo not found when using Gtk# with Visual Studio

Hywel Thomas hywel at controlspecials.demon.co.uk
Thu Jul 27 06:39:40 EDT 2006


Hello,

I'm using Gtk# with the Mono 1.1.16.1 Windows installer, and all my programs
compile and run OK with Mono.  If I compile under Visual Studio 2003, using
references to atk-sharp.dll, gdk-sharp.dll, gtk-sharp.dll, glib-sharp.dll, and
pango-sharp.dll (as defined in Mono-1.1.16.1\lib\pkgconfig\gtk-sharp-2.0.pc) it
compiles with a warning 'The dependency 'Mono.Cairo' could not be found' but
still runs without any problem using VS.NET.  This applies from the simplest
Gtk# program to a fairly extensive drawing application (NPlot).  Can anyone
suggest why this warning appears under VS and not Mono?  As far as I can see,
only gdk-sharp.dll has any reference to Mono.Cairo, but the Mono web pages say
that all Gtk# drawing now uses Cairo, so I would have thought that the
dependency was a critical one.

I'm just concerned that something is lurking, and would be grateful for a better
understanding of what is going on.

Many thanks,

Hywel Thomas




More information about the Gtk-sharp-list mailing list