Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build Build.NetCore #670

Closed
destroyhimmyrobots opened this issue Nov 14, 2016 · 2 comments
Closed

Cannot build Build.NetCore #670

destroyhimmyrobots opened this issue Nov 14, 2016 · 2 comments

Comments

@destroyhimmyrobots
Copy link

destroyhimmyrobots commented Nov 14, 2016

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.

@destroyhimmyrobots destroyhimmyrobots changed the title Cannot build CodeGen.NetCore Cannot build Build.NetCore Nov 14, 2016
@ncave
Copy link
Contributor

ncave commented Nov 15, 2016

#668 was merged in recently, hopefully it helps.

@destroyhimmyrobots
Copy link
Author

@ncave this moved me past the tests and as far as MSBuild, so it looks like the dependency updates resolved this particular issue. Thanks for the fix!

dsyme added a commit to dsyme/FSharp.Compiler.Service that referenced this issue Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants