Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts and .NET Standard 2.0 - Editor shows reference error in F# code while code is correct and runs #4797

Closed
vsfeedback opened this issue Apr 27, 2018 · 3 comments
Labels
Area-LangService-API Area-VS-FSI VS window and commands for F# Interactive

Comments

@vsfeedback
Copy link

When adding references for a script file, I encounter an error that pops up in the editor, but it is possible to run the code in FSI?

See attachment.

This issue has been moved from https://developercommunity.visualstudio.com/content/problem/241500/editor-shows-reference-error-in-f-code-while-code.html
VSTS ticketId: 607352

These are the original issue comments:
(no comments)
These are the original issue solutions:
(no solutions)

@cartermp
Copy link
Contributor

This is an issue (based on info in the VSTS report) where references to .NET Standard components in an F# script file will produce an error in a script file, but execute in F# interactive.

@cartermp
Copy link
Contributor

Related to #3309 but not the same issue

@cartermp cartermp added Area-LangService-API Area-VS-FSI VS window and commands for F# Interactive labels Apr 27, 2018
@dsyme dsyme changed the title Editor shows reference error in F# code while code is correct and runs Scripts and .NET Standard 2.0 - Editor shows reference error in F# code while code is correct and runs May 1, 2018
@cartermp
Copy link
Contributor

Closing this out in favor of #2407, which is the main issue tracking .NET Core (and Standard) support for FSI and scripting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-API Area-VS-FSI VS window and commands for F# Interactive
Projects
None yet
Development

No branches or pull requests

2 participants