Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/fsharp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
F# 哪个版本的FSharp.Data与MSVS 2013兼容?_F#_F# Data - Fatal编程技术网

F# 哪个版本的FSharp.Data与MSVS 2013兼容?

F# 哪个版本的FSharp.Data与MSVS 2013兼容?,f#,f#-data,F#,F# Data,Visual Studio 2013中打开了一个空的F#项目 open System [<EntryPoint>] let main argv = printfn "%A" argv System.Console.ReadKey() |> ignore 0 不确定是否相关,但NuGet也安装了FSharp.Core 4.0.0.1,尽管MSVS 2013附带了FSharp.Core 4.3.0.0和4.3.1.0 MSV升级不是我

Visual Studio 2013中打开了一个空的F#项目

open System

[<EntryPoint>]
let main argv =
    printfn "%A" argv
    System.Console.ReadKey() |> ignore
    0
不确定是否相关,但NuGet也安装了FSharp.Core 4.0.0.1,尽管MSVS 2013附带了FSharp.Core 4.3.0.0和4.3.1.0

MSV升级不是我的选择


因此,问题是我如何在MSVS 2013针对.NET 4.5的项目中使用F型提供者?

这是不可能的。较新版本的类型提供程序不会加载到较旧的Visual Studio版本中。如果无法升级Visual Studio版本,请尝试使用类型提供程序的较旧版本,如2.0.0版。

我手头上没有VS 2013要测试,但它是在2013年11月发布的,因此我认为FSharp的最佳选择。数据可能是在2014年3月首次发布的2.x版。请参阅上的版本历史记录。
The design-time type 'System.String' utilized by a type provider was not found in the target reference assembly set '[tgt assembly FSharp.Data, Version=3.3.3.0, Culture=neutral]'. 
You may be referencing a profile which contains fewer types than those needed by the type provider you are using.   
parse error FS3033