GNOME Bugzilla – Bug 594662
Getting an error when buiding PrintNotes addin on the Mac
Last modified: 2010-10-18 10:28:22 UTC
Created attachment 142803 [details] Changes Tomboy/Addins/PrintNotes/PrintNotes-mac.csproj after chaging the reference to Mono.dll version 2.0 The error is as follows: /Users/mohan/Projects/tomboy/Tomboy/Addins/PrintNotes/PrintNotesNoteAddin.cs(314,25): error CS0029: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context' Looking at the compile options it seemed that it was using version 1.0 of the Cairo.dll. After I changed the reference for the PrintNotes-mac solution via the Project > Edit references menu in MonoDevelop - it was referencing Mono.Cairo 1.0, I changed it to reference version 2.0 and removed the reference to version 1.0, building it worked. The resulting diff of this change is attached with this ticket.
I pushed your project file fix to git master, but have not tested it yet. Please let me know if the problem remains for you.
I am closing this bug because the PrintNotes addin builds fine for me and printing (to a file) also works. Please feel free to reopen this bug if the problem remains for you.