c# - error CS0029: Cannot implicitly convert type `Cairo.Context' to `Cairo.Context' - mono version conflict -
so apparently, i'm having conflicting versions of mono.cairo. can see in /usr/lib/mono/gac/mono.cairo there 2 folders, 1 version 2.0 , 1 version 4.0 . read on google results, causing conflict. line of code that's causing trouble using (cairo.context ctx = gdk.cairohelper.create (area.gdkwindow))
apparently, question has been answered here, have no idea they're saying. put you: there way dmcs use non-conflicting cairo.context?
i'm using ubuntu 12.04 xmonad, newest version pf package mono-complete apt-get.
to compile í write: dmcs -pkg:gtk-sharp -pkg:mono-cairo teikniforrit.cs
, teikniforrit.cs being simple painting tool. mcs , gmcs have never worked me. set mono on windows 7 see how worked , works fine gmcs, not mcs or dmcs.
it's possible you're being hit same bug saw while ago, consisting in buggy pc file mono provides. fixed problem in this commit, can try upgrading mono then?
Comments
Post a Comment