Hi sqlcipher support team,
We bought sqlcipher version 184.108.40.206 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.EF220.127.116.11.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 18.104.22.168 ) is different from the sqlcipher version, which is 22.214.171.124
What do we need to do to get this working? Do you have any version of sqlcipher that is compatible with sqlite 126.96.36.199?
The exception log is below.
Please note that we were to get this to work last year, but we were visual studio 2010.
[A]System.Data.SQLite.SQLiteConnection cannot be cast to [B]System.Data.SQLite.SQLiteConnection. Type A originates from ‘System.Data.SQLite, Version=188.8.131.52, 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=184.108.40.206, Culture=neutral, PublicKeyToken=db937bc2d44ff139’ in the context ‘Default’ at location ‘C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data.SQLite\v4.0_220.127.116.11__db937bc2d44ff139\System.Data.SQLite.dll’.