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

Opening non core namespaces causing false errors #11

Closed
PhilT opened this issue Oct 10, 2019 · 1 comment
Closed

Opening non core namespaces causing false errors #11

PhilT opened this issue Oct 10, 2019 · 1 comment

Comments

@PhilT
Copy link

PhilT commented Oct 10, 2019

open FSharp.Data
open FSharp.Data.__Sql__ // typecheck: namespace Sql not defined
open System.IO
open FSharp.Literate // typecheck: namespace Literate not defined

These packages have been added to the project (both using global ~/.nuget/packages directory and local packages/ directory but appear not to be getting picked up. I'm pretty new FSharp so could be something I'm (not) doing.

I'm using .NET Core 3 SDK. The same project loads fine in VS Code + ionide.

@PhilT
Copy link
Author

PhilT commented Nov 5, 2019

I think this was due to Literate's loading requirements but by #Including the correct paths and #requiring all the DLLs I was able to fix the issue.

@PhilT PhilT closed this as completed Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant