I have the following code:
#r "../packages/FSharp.Data.2.0.9/lib/portable-net40+sl5+wp8+win8/FSharp.Data.dll"
open FSharp.Data
let trainData = CsvFile.Load("../resources/Train.csv")
let rowCount = trainData.Rows |> Seq.length
And I am getting this exception
System.Exception: Only web locations are supported
I am using VS2012. Has anyone seen this before?
asked Aug 22, 2014 at 14:46
1 Answer 1
I changed it to
#r "../packages/FSharp.Data.2.0.9/lib/net40/FSharp.Data.dll"
and it worked
Hope this helps someone
answered Aug 22, 2014 at 15:00
-
2Yes, portable profiles do not support the file system. Improved the error message: github.com/fsharp/FSharp.Data/commit/…Gustavo Guerra– Gustavo Guerra08/29/2014 14:15:45Commented Aug 29, 2014 at 14:15
lang-ml