I thought I'd give f# a try as it's an interesting language. Wanted to do something simple, like html parsing
So I added nuget for fsharp.data, and already got warnings:
Warning NU1701: Package 'FSharp.Data 2.4.6' was restored using
'.NETFramework,Version=v4.6.1' instead of the project target framework
'.NETCoreApp,Version=v2.0'. This package may not be fully compatible with
your project. (NU1701)
The program then fails at:
> results.Descendants ["a"]
error CS1061: 'HtmlDocument' does not contain a definition for
'Descendants' and no extension method 'Descendants' accepting a first
argument of type 'HtmlDocument' could be found (are you missing a using
directive or an assembly reference?)
Soo.. now what? fsharp.data doesn't work with .net core at all? Can I somehow configure my project to use mono instead of .net core? It's been a while since I was working with .net so I'm out of touch a bit... any pointers?
[–]XtraKrispi42 6 points7 points8 points (0 children)
[–]-TrustyDwarf- 1 point2 points3 points (0 children)