I had to switch from .net 4.5 to .net 4.0 because some of my customers still use WinXP. Now, after switching, this is the error I'm getting:
Could not load file or assembly 'System.Data.SQLite,
Version=1.0.66.0, Culturre-neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies.
An attempt was made to load a program with an incorrect format.
I haven't been able to find a solution for this, but here's what I tried so far:
- Switch back to 4.5 - Didn't work
- Add the reference again - Didn't work
Anyone know a solution?