1
module test =
let [<Literal>] resolutionPath = __SOURCE_DIRECTORY__ + @"/../packages/SQLProvider/lib/"
let [<Literal>] connectionString = "Data Source=localhost"
type sql = SqlDataProvider<
ConnectionString = connectionString,
DatabaseVendor = Common.DatabaseProviderTypes.MYSQL,
ResolutionPath = resolutionPath,
IndividualsAmount = 1000,
UseOptionTypes = true>
工作時,這是確切的錯誤信息,我得到「CreateSemaphore」錯誤與sqlProvider的
The type provider 'FSharp.Data.SqlTypeProvider' reported an error: CreateSemaphore (FS3003)
不知道該怎麼在這裏做的,有什麼建議,將不勝感激!
聽起來像潛在的MySql.Data.dll錯誤。你正在使用什麼版本的SQLProvider?那真的是你的整個連接字符串嗎? –