[MonoDevelop] What is happening with MD 2 alpha 2 here?

alan battersby alan.battersby at ntlworld.com
Tue Dec 30 08:05:03 EST 2008


Lluis Sanchez Gual wrote:
>> [Task:File=/home/alan/C# development/OTPaths Lattice
>> v1.0/OTPaths/Dialogs/CellDialog.cs, Line=62, Column=25, Type=Error,
>> Priority=Normal, Description=Cannot implicitly convert type
>> `Cairo.Context' to `Cairo.Context'(CS0029)]
>>  from this line
>>
>> using (Cairo.Context ct = Gdk.CairoHelper.Create (drawingarea.GdkWindow))
>>     
>
> This error seems unrelated to the previous one. Looks like you are
> referencing (maybe indirectly, through gtk#) two different versions of
> Mono.Cairo.
>
> Lluis.
>
>   
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


More information about the Monodevelop-list mailing list