Hi sqlcipher support team,
We bought sqlcipher version 91.0.88.0 last year.
We are having some problems integrating it with visual studio 2013 & entity framework.
To generate the entity models using sqlite & visual studio 2013, we had to install sqlite using nugets.
It also installed System.Data.SQLite.EF6.1.0.94.0, which is needed to generate the models in visual studio 2013
We were able to generate everything that we need.
When we run the application we have a sqliconnection cast exception.
I think this is due to the fact that the sqlite version used to generate the models (version 1.0.94.0 ) is different from the sqlcipher version, which is 91.0.88.0
What do we need to do to get this working? Do you have any version of sqlcipher that is compatible with sqlite 1.0.94.0?
The exception log is below.
Please note that we were to get this to work last year, but we were visual studio 2010.
Thank you,
[A]System.Data.SQLite.SQLiteConnection cannot be cast to [B]System.Data.SQLite.SQLiteConnection. Type A originates from ‘System.Data.SQLite, Version=91.0.88.0, Culture=neutral, PublicKeyToken=2afdc9349188e576’ in the context ‘Default’ at location ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\synergy\225e3fee\b292ea2e\assembly\dl3\c4362efe\a79e5fbe_fa28d001\System.Data.SQLite.dll’. Type B originates from ‘System.Data.SQLite, Version=1.0.94.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139’ in the context ‘Default’ at location ‘C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data.SQLite\v4.0_1.0.94.0__db937bc2d44ff139\System.Data.SQLite.dll’.