[Mono-dev] Multiply-defined symbols with F#
Casey Marshall
cmarshall at pacificbiosciences.com
Wed Feb 6 18:02:48 EST 2008
Hi,
I'm trying to use F# with mono, and most everything works fine, except
when I try to reference FSharp.Core.dll from a C# assembly. I get this
error:
> error CS0433: The imported type `System.Action`2' is defined multiple
> times
> /opt/mono/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
> .../FSharp.Core.dll (Location of the symbol related to previous error)
> error CS0433: The imported type `System.Action`3' is defined multiple
> times
> /opt/mono/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
> .../FSharp.Core.dll (Location of the symbol related to previous error)
> error CS0433: The imported type `System.Action`4' is defined multiple
> times
> /opt/mono/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
> .../FSharp.Core.dll (Location of the symbol related to previous error)
> Compilation failed: 3 error(s), 0 warnings
Now, this makes sense: both System.Core.dll and FSharp.Core.dll define
'System.Action' types. But, is there any way to work around this?
Thanks.
More information about the Mono-devel-list
mailing list