64 bit
Brought to you by:
johanrex
I am able to build FusekiLibrary for 64 bit, but when writing the database, it crashes.
I have to target 32 bit explicitly for building databases.
-----
Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.65.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one
of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'System.Data.SQLite, Version=1.0.65.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139'
at PatternLibrary.PatternDbDAL.Serialize(PatternDbBuilder db, String fileName, Int32 boardSize)
at CreateDatabase.Program.Main(String[] args) in C:\Code2\trunk\CreateDatabase\Program.cs:line 52
Good find. I'll look into it more this weeked.
Here's a workaround.
Download the latest (I tried with 1.0.65.0) binary sqlite dll for .NET from http://sqlite.phxsoftware.com/
Overwrite the System.Data.SQLite.dll in the bin folder (or where you place the binary output) with the x64 one you downloaded (it's in the zip).
That should do it.