Skip to content

"FSI: Send References from project" sends references assemblies instead of implementation assemblies #1334

Open
@mydogisbox

Description

@mydogisbox

Describe the bug
The "FSI: Send References from project" command sends reference assemblies instead of implementation assemblies to FSI.

To Reproduce
Steps to reproduce the behaviour:

  1. With the ionide plugin installed in VS Code, open an F# project with nuget references
  2. Execute the "FSI: Send References from project" command

Expected behaviour
The FSI prompt displays the following error:

error FS0193: internal error: Could not load file or assembly ', Version=, Culture=neutral, PublicKeyToken=***********'. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)

Environment (please complete the following information):

  • OS: Windows 10
  • Ionide version: 4.8.1
  • VSCode version: 1.43.2
  • dotnet SDK version: 3.1.201
  • mono / .Net Framework version:
    Microsoft.AspNetCore.App 3.1.3
    Microsoft.NETCore.App 3.1.3
    Microsoft.WindowsDesktop.App 3.1.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scriptsProblems with .fsx files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions