Thank you for your assistance. Shortly after posting this message, I was able to successfully build using the assemblies from the full Mono distribution. These work fine, but the assemblies from just the GTK# distribution did not.
This is tangential to the original topic, but do you know if it's possible to upgrade the version of Cairo used by an application? Mono is shipping with 1.5.2 if I recall correctly, which is too old for my purposes. Dropping in a newer libcairo-2.dll causes problems. On Tue, Dec 23, 2008 at 10:11 PM, Andy Selvig <[email protected]> wrote: > I have successfully used Mono.Cairo with VS 2008. I've attached a VS 2008 > project that uses Gtk# 2.12 and Mono.Cairo 2.0 as provided in the Medsphere > installer > (http://medsphere.org/community/project/openvista-cis/blog/2008/10/02/gtk-212-win32-installer). > Can you get this to work? > > On Tue, Dec 23, 2008 at 8:37 PM, AngryZealot <[email protected]> wrote: >> >> I'm trying to use Mono.Cairo to implement some custom drawing, but Visual >> Studio 2008 is not cooperating. I cannot get it to recognize the assembly >> properly. For example, >> >> The type 'Cairo.Context' is defined in an assembly that is not referenced. >> You must add a reference to assembly 'Mono.Cairo, Version=2.0.0.0, >> Culture=neutral, PublicKeyToken=35e10195dab3c99f' >> >> I have added the Mono.Cairo assembly to my project, and the properties >> panel >> lists it as version 2.0.0.0, so I don't understand why this error is >> occuring. Has anyone had success with Visual Studio? >> -- >> View this message in context: >> http://www.nabble.com/Problems-with-VS2008-and-Mono.Cairo-tp21154469p21154469.html >> Sent from the Mono - Gtk# mailing list archive at Nabble.com. >> >> _______________________________________________ >> Gtk-sharp-list maillist - [email protected] >> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > > _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
