I'm trying to use the FSharp.Data
third party library but am getting an error The type 'XmlProvider' is not defined
on the XmlProvider
class.
namespace KMyMoney
open FSharp.Data
module Read =
let xml = File.ReadAllText("KMyMoneySampleFile.xml")
type KMyMoneySource = XmlProvider<xml>
I'm using NuGet to get the library. Library is 'FSharp.Data 1.1.8'
When I type FSharp.Data.
There are four options given: Csv
, FreebaseOperators
, Json
, and RuntimeImplementation
.
Am I missing something? I'm relatively new to F#. So, sorry for the simple question. I've looked on GitHub but haven't seen any mention of this problem. I am creating a library in F#.