Inconsistent compiler behavior in VS and FSI for open directives
Open
Area-VS-FSI
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
Visual studio sees no error even though it'll fail once sent to FSI.
This looks all good:

This is what happens when sent to FSI:
```
Script7.fsx(1,17): error FS0039: The namespace 'Linq' is not defined.
```
_Originally posted by @kevmal in https://github.com/dotnet/fsharp/issues/8514#issuecomment-583872345_
Contributor guide
Assessment
This issue has not been assessed yet.