I had a headache when I encountered this problem. I found a lot of methods on the Chinese and English websites. I tried it and understood it slowly. Finally, I solved it through the following methods:
From:Http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.66.0/Download sqlite-1.0.66-source.zip. The latest version may be updated later.
Then, set SQLite. interop.066.dll 478kb under \ bin \ compactframework.Copy to the \ Program Files \ project file of the mobile phone, and add the reference of system. Data. SQLite. dll 143kb in this directory in the project.
The reason is:ProgramDuring deployment, the file is deployed on the computer instead of on the mobile phone. Therefore, copy the file above.
When downloading the. exeinstallation package, there will be questions in the east-west mobile phone. Use. Zip.