ionide/ionide-vscode-fsharp

Error messages about unreferenced assembly

Opened this issue · 0 comments

Describe the bug

I get error messages for nearly all code that says:

The type referenced through 'System.String' is defined in an assembly that is not referenced.
You must add a reference to assembly 'netstandard'.F# Compiler74

This happens to other types as well, so 'System.String' could also be 'System.Int32', etc.

Steps to reproduce

  1. Open an .fs file in vscode
  2. See error messages everywhere

Screenshots

Screenshot 2024-02-14 at 11 07 49 AM

Machine info

  • OS: MacOS 14.3.1 (23D60)
  • .NET SDK version: 8.0.200
  • Ionide version: 7.18.1