Skip to content

Could not find file default.win32manifest #755

@matthid

Description

@matthid

I'm using FCS to compile something on the dotnetcore runtime for dotnetcore and get
unknown (1,1)-(1,1) parse error Could not find file 'C:\PROJ\FAKE\nuget\dotnetcore\Fake.netcore\current\default.win32manifest'.

Repro steps

let fsc = FSharpChecker.Create()
let errors, returnCode = fsc.Compile (args |> List.toArray) |> Async.RunSynchronously

Expected behavior

The compilation works

Actual behavior

unknown (1,1)-(1,1) parse error Could not find file 'C:\PROJ\FAKE\nuget\dotnetcore\Fake.netcore\current\default.win32manifest'.

Known workarounds

Copy the file from the FSharp.Compiler.Tools package to the location indicated by the error.

Question

  • Why is that file needed? Can someone give a brief explanation what that is about?
  • Is the FCS package missing a dependency on the FSharp.Compiler.Tools package (@cloudRoutine noticed it in the paket.dependencies of this repository)?
  • Should FSharp.Compiler.Service distribute the default.win32manifest file / Is it an error in the current package?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions