March 6th, 2012, 04:10 AM
SQLite in VS2010
I am writing an application which requires a database. I am using SQLite and it seemed to be going well but one day I got the error:
System.BadImageFormatException Could not load file or assembly 'System.Data.SQLite, Version=220.127.116.11, Culture=neutral, >PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt was made to load >a program with an incorrect format.
I am not sure what I have done to cause this. I searched for this issue and found solutions in previous questions. I have added the lines:
in my .config file, although the full text is:
Does the different required runtime affect this?
The other solution was to set copy local to true on the SQLite assembly but this did not help.
Can anyone offer any more advice?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.