I\'m working with WPF. When I\'m trying to declare SQLiteConnection in the code, the problem arises-
SQLiteConnection
The invocation of the constructor on type \
I ran into this issue and it was caused because my startup application was built as any CPU but I was referencing a project that was built as x64. Setting the startup to build x64 resolved the issue.