【发布时间】:2015-07-04 08:53:30
【问题描述】:
我有一个使用SqlEntityConnection 类型提供程序的非常简单的代码。
基本上是这样的
open System.Data.Linq
open System.Data.Entity
open Microsoft.FSharp.Data.TypeProviders
type private EntityConnection = SqlEntityConnection<ConnectionString="ConnectionString",
Pluralize = true>
在 Windows 上编译得很好,但是当我尝试在 Mac OSX 上编译它时,它会因为这个错误而失败
The type provider 'Microsoft.FSharp.Data.TypeProviders.DesignTime.DataProviders' reported an error: Error reading schema. The required tool '/Library/Frameworks/Mono.framework/Versions/4.0.1/lib/mono/4.5/edmgen.exe' could not be found.
我到处找,似乎在任何地方都找不到edmgen.exe。它应该与单声道一起安装吗?我安装了 MDK 4.0.1.44,但edmgen.exe 不存在。我错过了什么?
【问题讨论】:
标签: entity-framework f# mono type-providers