Skip to content

Instantly share code, notes, and snippets.

@ilkerde
Created January 15, 2012 17:08
Show Gist options
  • Save ilkerde/1616463 to your computer and use it in GitHub Desktop.
Save ilkerde/1616463 to your computer and use it in GitHub Desktop.
Missing AddToObservable while building FAKE with FAKE using Mono
[ilker@x fake]$ mono build/FAKE.exe build.fsx
Missing method Microsoft.FSharp.Control.CommonExtensions::AddToObservable<[1]>(IObservable`1<!!0>,FSharpFunc`2<!!0, Unit>) in assembly /usr/local/lib/mono/gac/FSharp.Core/2.0.0.0__b03f5f7f11d50a3a/FSharp.Core.dll, referenced in assembly /home/ilker/Code/fake/build/FakeLib.dll
@ilkerde
Copy link
Author

ilkerde commented Jan 15, 2012

Note (to self):
This error is the very own, special and polite way of Mono/FSharp pair telling me that I've built FAKE.exe and FakeLib.dllwith FSharp.Core.dll v4.0 while mono binds it (though gac and search path) to FSharp.Core.dll v2.0.

I got rid of this error by just consistently compiling everything targetting v2.0 assemblies of FSharp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment