OrmLite.Sqlite x86 / x64 and preloading the source library

I want to target x86 and x64 platform using .Net 4 service and ServiceStack.OrmLite.Sqlite

I read about preloading the source library ( http://system.data.sqlite.org/index.html/artifact?ci=trunk&filename=Doc/Extra/environment.html ) so that you can use one project for both platforms.

Which package should I reference (via Nuget) to my project?

  • ServiceStack.OrmLite.Sqlite32.3.9.43
  • ServiceStack.OrmLite.Sqlite64.3.9.43
  • How?

Both packages add the relative x64 and x86 SQLite.interop.dll (with the copy included in the output folder) to my project, but on the x86 machine I got the usual platform mismatch error.

Is this script supported by ServiceStack.OrmLite?

+5
source share

All Articles