There is a workaround, but then other problems (related to real source
code) appear.

Changing the Mono.Cairo dependency in external/Hyena:

diff --git a/Hyena.Gui/Hyena.Gui.csproj b/Hyena.Gui/Hyena.Gui.csproj
index 0cf3088..798c0e3 100644
--- a/Hyena.Gui/Hyena.Gui.csproj
+++ b/Hyena.Gui/Hyena.Gui.csproj
@@ -66,9 +66,7 @@
     <Reference Include="gdk-sharp">
       <SpecificVersion>False</SpecificVersion>
     </Reference>
-    <Reference Include="Mono.Cairo">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\..bin\Mono.Cairo.dll</HintPath>
+    <Reference Include="Mono.Cairo, Version=4.0.0">
     </Reference>
     <Reference Include="pango-sharp">
       <SpecificVersion>False</SpecificVersion>

No dependency conflicts any more, the compile error I get after this:

FSpot.Widgets/FolderTreeView.cs(74,60): error CS0837: The `as'
operator cannot be applied to a lambda expression, anonymous method,
or method group
FSpot.Widgets/FolderTreeView.cs(78,60): error CS0837: The `as'
operator cannot be applied to a lambda expression, anonymous method,
or method group

Regards
Paul.

On Wed, Sep 24, 2014 at 11:23 PM, Paul Wellner Bou <pwell...@gmail.com> wrote:
> Hi there,
>
> I am trying to compile f-spot master from git (I can't use the
> release, because I need my patch supporting the Samsung RAW files
> there). After installing a lot of things, I am still running into this
> problem:
>
> CSC: error CS1705: Assembly `gdk-sharp, Version=2.12.0.0,
> Culture=neutral, PublicKeyToken=35e10195dab3c99f' references
> `Mono.Cairo, Version=4.0.0.0, Culture=neutral,
> PublicKeyToken=0738eb9f132ed756' which has a higher version number
> than imported assembly `Mono.Cairo, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=0738eb9f132ed756'
>
> There are both cairo versions installed, I can't uninstall them
> without moving other packages like mono-devel.
>
> i A libmono-cairo2.0-cil            - Mono Cairo library (for CLI 2.0)
> i A libmono-cairo4.0-cil            - Mono Cairo library (for CLI 4.0)
>
> I am using Ubuntu, but I have the latest mono from xamarin installed.
>
> How do I tell f-spot to use only one of those? And if this would be
> the solution, which is the correct one?
>
> Thanks and regards
> Paul Wellner Bou
_______________________________________________
f-spot-list mailing list
f-spot-list@gnome.org
https://mail.gnome.org/mailman/listinfo/f-spot-list

Reply via email to