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

HTML Provider doesn't work with FSI with F# 4.6 #318

Closed
leolorenzoluis opened this issue Jun 28, 2019 · 1 comment
Closed

HTML Provider doesn't work with FSI with F# 4.6 #318

leolorenzoluis opened this issue Jun 28, 2019 · 1 comment

Comments

@leolorenzoluis
Copy link

Description

Running load on HTML Provider will throw an exception with FSI F# 4.6

Repro steps


type NasdaqCompaniesByName = HtmlProvider<"https://www.nasdaq.com/screening/companies-by-name.aspx">
NasdaqCompaniesByName.Load("https://www.nasdaq.com/screening/companies-by-name.aspx?letter=A")

Expected behavior

It should not throw exception

Actual behavior

error FS3033: The type provider 'ProviderImplementation.HtmlProvider' reported an error in the context of provided type 'FSharp.Data.HtmlProvider,Sample="https://www.nasdaq.com/screening/companies-by-name.aspx"', member 'Load'. The error: assembly mscorlib not found

Known workarounds

Run it with dotnet cli and not through FSI

Related information

  • Operating system OSX
  • Branch latest
  • .NET Runtime, CoreCLR or Mono Version .NET Core SDK 2.2.300
@dsyme
Copy link
Contributor

dsyme commented Sep 21, 2021

This has been fixed since then, and would go to FSharp.Data repository in any case

@dsyme dsyme closed this as completed Sep 21, 2021
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

2 participants