entrypointnotfoundexcept

"Cannot find entry point sqlite3_open_v2 in DLL sqlite3" when using System.Data.Sqlite

I am having problems connecting to a Sqlite database through System.Data.Sqlite. I was trying to use FluentNhibernate but that didn't work, so I went back to basics but got the same error: Cannot find entry point sqlite3_open_v2 in DLL sqlite3. This is my (fairly simple I believe) code: using (SQLiteConnection connection = new SQLiteCo...

Why do I get EntryPointNotFoundExceptions in Visual Studio's form designer?

I did some refactoring of an application framework, and now the form designer behaves in a weird way - after a rebuild, it crashes with a EntryPointNotFoundException until Visual Studio is started again. Background The framework consists of several projects, all in one solution. The projects have several dependencies between each other...