We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Repro steps Setting "Use .NET Core Scripting" to False:
I'm facing situation with a script such as:
#r "nuget: FSharp.Data" open FSharp.Data type J = JsonProvider< """{ "a":"b", "c": 1}"""> type JQualified = FSharp.Data.JsonProvider< """{ "a":"b", "c": 1}""">
the first JsonProvider shows squiggles
JsonProvider
FS00039: The type JsonProvider is not defined.
It doesn't happen with "Use .NET Core Scripting" to True.
It doesn't affect fsianycpu.exe evaluation but just the tooling.
Actual behavior
Expected behavior
It should work disregarding the setting.
Known workarounds
Using qualified names, which is a bit problematic.
Related information
The text was updated successfully, but these errors were encountered:
To use FSharp.Data with .NET 4.7.2 you must reference System.Xml.Linq in scripts:
System.Xml.Linq
#r "nuget: FSharp.Data, 5.0.2" #r "System.Xml.Linq" open FSharp.Data type J = JsonProvider< """{ "a":"b", "c": 1}"""> type JQualified = FSharp.Data.JsonProvider< """{ "a":"b", "c": 1}""">
Sorry, something went wrong.
Thanks @dsyme, there is still an issue, IMO:
What can be done to improve the situation? I feel the squiggle should actually surface the missing dependency, if that's the actual issue.
No branches or pull requests
Repro steps
Setting "Use .NET Core Scripting" to False:
I'm facing situation with a script such as:
the first
JsonProvider
shows squigglesIt doesn't happen with "Use .NET Core Scripting" to True.
It doesn't affect fsianycpu.exe evaluation but just the tooling.
Actual behavior
the first
JsonProvider
shows squigglesExpected behavior
It should work disregarding the setting.
Known workarounds
Using qualified names, which is a bit problematic.
Related information
The text was updated successfully, but these errors were encountered: