Skip to content

F# / C# interop fails when upgrading to the RC2. #14147

Closed

Description

@KevinRansom

Reported here: dotnet/core#7865 (comment)

To reproduce, create a solution with two – F# Library and C# Console projects. Reference the F# project from the C# one. Add at least two types in the Library.fs file (two single case discriminated unions for simplicity…) and access THE FIRST ONE from the C# project. It will throw: ” Program.cs(1, 24): [CS0117] ‘Test.A’ does not contain a definition for ‘A'”

Repro: https://github.com/gdar91/Rc2FsCs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions