-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Description
I have the following code in a .fs file:
let con = @"Data Source=some-path-to\test.db; Version=3"
let res = @"C:\another-path-to-x64ver\contrib\sqlite\lib\net45"
type sql = SqlDataProvider<ConnectionString = con,
DatabaseVendor = Common.DatabaseProviderTypes.SQLITE,
ResolutionPath = res,
UseOptionTypes = true>
The error I get in Visual Studio 2012 is :
The type provider 'FSharp.Data.Sql.SqlTypeProvider' reported an error: Could not load file or assembly 'file:...contrib\System.Data.SQLite.x64.1.0.89.0\lib\net45\System.Data.SQLite.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
After a bit of searching around I saw this: http://pinksquirrellabs.com/post/2013/12/15/SqlProvider-SQLite-support-%28experimental%29.aspx
I have applied the suggested loadFromRemoteSources
but that did not help. What does help though is to point to a x86-sqlite dll.
Is it (should it be) possible to use the SqlProvider on a x64-platform?
Metadata
Metadata
Assignees
Labels
No labels