I am trying to use LINQPAD 4 to test HTML Parsing using F# and the FSharp.Data library. I proceeded as follows:
- I created a new F# Program in LINQPad
- Pressed F4 and added FSharp.Data as a NuGet package
I then tried to compile and run the following program in LINQPad
open FSharp.Data
let results = HtmlDocument.Load("http://www.google.co.uk/search?q=FSharp.Data")
results.Dump()
- This returns a error telling me I need the assembly 'FSharp.Core, Version=4.3.0.0.
- I then press F4 and add the required FSharp.Core assembly
- I now get the following compiler error :
error FS1222: When mscorlib.dll or FSharp.Core.dll is explicitly referenced the --noframework option must also be passed