Skip to content

dotnet fsi is using implementation assemblies #10169

@dsyme

Description

@dsyme

When dotnet fsi is run it is using implementation assemblies, not the relevant pack of framework assemblies

There are three relevant versions involved

  • SDK version, C:\Program Files\dotnet\sdk\3.1.40 , found via the currently running tool e.g. C:\Program Files\dotnet\sdk\3.1.401\FSharp\fsc.exe

  • Runtime version used by that SDK: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.7, found via the directory number of the implementation assemblies

  • Packs version used by that SDK: C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0

The problem is that we are not finding the packs version - we are assuming that the packs version is simply the runtime version. As a result we drop through to the getImplementationReferences() case

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions