Skip to content

Cannot build Build.NetCore #670

@destroyhimmyrobots

Description

@destroyhimmyrobots

Running .\build.cmd fails on the current master. The target build.netcore generates errors related to reflection. There are a variety of failures in src\absil\ilreflect.fs, src\fsharp\IlxGen.fs, src\fsharp\fsi\fsi.fs), for example:

error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.

Here is the log of the CodeGen.NetCore and Build.NetCore stages: fcs-log.txt. This revision (70cbf35) is green in CI, so there must be something amiss with my local build setup.

Repro steps

  1. Clone FCS
  2. Install VS vNext, .NET Core SDK Preview 2
  3. Run .\build.cmd

Expected behavior

The target builds successfully.

Actual behavior

Please see the partial build log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions