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

What version of FSharp.Data is compatible with MSVS 2013?

有一个空的 F# 项目在 Visual Studio 2013 年打开。

open System

[<EntryPoint>]
let main argv =
    printfn "%A" argv
    System.Console.ReadKey() |> ignore
    0

我一安装 FSharp.Data 包,项目就停止编译并出现以下错误:

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  

不确定它是否相关,但 NuGet 也安装了 FSharp.Core 4.0.0.1,即使 MSVS 2013 附带 FSharp.Core 4.3.0.0 和 4.3.1.0

MSVS 升级不​​是我的选择。

所以问题是如何在面向 .NET 4.5 的 MSVS 2013 项目中使用 F# 类型提供程序?

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