Skip to content

Assembly reference '....dll' was not found or is invalid, times four #15550

@Triazic

Description

@Triazic

Compiler does not work from either inside F# project or running fsc directly.

Inside F# project:
image

CLI:
image

Repro steps

Provide the steps required to reproduce the problem:

  1. Installed dotnet 7 SDK on windows 10
  2. Add package <PackageReference Include="FSharp.Compiler.Service" Version="43.7.300" />
  3. Write a basic script, SomeScript.fsx:
namespace SomeNameSpace

module SomeModule =
  let add (a:float) (b:float):float = a + b
  1. Attempt to compile the script in a fs project using FSharp.Compiler.CodeAnalysis, FSharpChecker, checker.Compile.
    Fails with errors about the four missing dlls screengrabbed.
  2. Attempt to compile using fsc.dll directly, same four errors.

Expected behavior

It compiles the dll.

Actual behavior

It doesn't compile the dll.

Known workarounds

No idea.

Related information
Hardware, OS etc described in repro steps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions