Unable to reference FSharp.Core in LINQPad when referencing the FSharp.Data package
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
I am new to LINQPad and think I may be missing something obvious.
* 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
I am new to LINQPad and think I may be missing something obvious.
Comments
What version of LINQPad and what .NET version are you running?
I am using LINQPad Premium 4.51.03 and .NET version 4.5.1 running on Windows 7 Professional 64 bit.
Is the new build with these fixes available somewhere? I've run in same issue with --noframework.
Thanks
Thanks!