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/S
On Feb 6, 2008 6:02 PM, Casey Marshall <[EMAIL PROTECTED]> wrote:
> 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?
If you want to use C# 2 (and hence avoid referencing System.Core),
pass the /langversion:IS
On Wed, 2008-02-06 at 15:02 -0800, Casey Marshall wrote:
> 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
On Wed, 2008-02-06 at 18:35 -0500, Jonathan Pryor wrote:
> On Wed, 2008-02-06 at 15:02 -0800, Casey Marshall wrote:
> > 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 CS043