f# - TypeProviders 和 [<Generate>] 类型未定义

标签 f# type-providers

我正在使用 http://blogs.msdn.com/b/dsyme/archive/2011/10/05/demo-scripts-from-the-f-3-0-build-talk.aspx 中的 DemoScripts 来玩一下类型提供程序。我收到的消息对我来说真的很奇怪。

类型“生成”未定义 BLABLA\Demo\MonsterMovieHouse\Library1\Netflix.fs 18 11 DataAndAnalysis

Google 没有提供帮助,据我设法得到一些逻辑解释,这是 Visual Studio 11 Beta,也许这就是问题所在。我引用了typroviders,这里是 Visual Studio 窗口的链接以了解详细信息。

enter image description here

最佳答案

如上所述here ,在 Beta 版中,Generate 属性已被删除。

关于f# - TypeProviders 和 [<Generate>] 类型未定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10562977/

相关文章:

android - 使用 Xamarin Android 与 F# 和 ReactiveUI 时出现运行时错误

f# - 将度量单位类型提高到指定的功率

f# - 将另一个参数插入F#中的行中

sql-server - 类型提供程序无法连接到 localDB

F# 与 IQueryable 联接

xml - F# XML 类型提供程序更改名称

f# - 使用 FParsec 解析方法参数

f# - Hello world 不会用 "The value or constructor is not defined"编译

f# - 为什么 WSDL 类型提供程序不能消除重载的歧义?

f# - Azure 和 F# 3.0 类型提供程序