ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
849 stars 276 forks source link

Error messages about unreferenced assembly #1986

Open avram-at-hazel opened 4 months ago

avram-at-hazel commented 4 months ago

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