Worked out the issue. Included a reference to a 32 bit SQLite.Interop.dll. Also, SQLite.Interop.dll was wasn't getting added in the build. Added x64 and x86 folders in teh base of my project. Included x64\SQLite.Interop.dll and x86\SQLite.Interop.dll in my project and setting to always copy for both DLLs fixed the issue. Hope that helps anyone that comes across the same issue. Thanks you everyone for your help and suggestions.