[MonoDevelop] mono library version problem- mono-2-6

Vasili I. Galchin vigalchin at gmail.com
Sat Aug 21 02:03:24 EDT 2010


hmmmmm ... on second thought please check the second error below:


/home/vasili/Projects/CnC.NET/CnC.NET/CnCRuntime/unknown(1,1): error FS0219:
The referenced or default base CLI library 'mscorlib' is binary-incompatible
with the referenced F# core library
'/home/vasili/Downloads/FSharp-2.0.0.0/bin/FSharp.Core.dll'. Consider
recompiling the library or making an explicit reference to a version of this
library that matches the CLI version you are
using.



/home/vasili/Projects/CnC.NET/CnC.NET/CnCRuntime/unknown(1,1): error FS0229:
Error opening binary file
'/home/vasili/Downloads/FSharp-2.0.0.0/bin/FSharp.Core.dll': Exception of
type 'Microsoft.FSharp.Compiler.ErrorLogger+ReportedError' was
thrown.


It almost seems like a permissions problem (the second error). However, I
can "cd" as myself (not sudo ... kubuntu) down into the containing
directory.

I forgot to mention one factor ..... I ran the CLI generated by
monodevelop!!! =>

Usr/bin/fsc
--out:/home/vasili/Projects/CnC.NET/CnC.NET/CnCRuntime/bin/Debug/CnCRuntime.dll
--noframework "--reference:System.dll" "--reference:System.Core.dll"
"--reference:/home/vasili/JUNK/lib/mono/4.0/mscorlib.dll" -g --optimize-
--utf8output --define:DEBUG --target:library
/home/vasili/Projects/CnC.NET/CnC.NET/CnCRuntime/CnCRuntime.fs

Any suggestions? Any ideas??

Kind regards,

Vasili

On Sat, Aug 21, 2010 at 12:26 AM, Vasili I. Galchin <vigalchin at gmail.com>wrote:

> Hello,
>
>      I am getting a version clash between mscorlib.dll and FSharp.Core.dll:
>
>
>
> /home/vasili/Projects/CnC.NET/CnC.NET/CnCRuntime/unknown(1,1): error
> FS0219: The referenced or default base CLI library 'mscorlib' is
> binary-incompatible with the referenced F# core library
> '/home/vasili/Downloads/FSharp-2.0.0.0/bin/FSharp.Core.dll'. Consider
> recompiling the library or making an explicit reference to a version of this
> library that matches the CLI version you are using.
>
> I need the Threading functionality from mscorlib.dll. Which version of
> FSharp.Core.dll is compatible with mono-2-6's mscorlib.dll?
>
> Thank you,
>
> Vasili
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100821/42805967/attachment.html 


More information about the Monodevelop-list mailing list