I use WiX to bundle a MSI installation file. After the installation, I execute the program but get the following error.
Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I have tried to add the two references: SQLite.Interop
(x86 and x64) into the WiX project. But I get:
The extension '...\SQLite.Interop.dll' could not be loaded because of the following reason: Could not load file or assembly 'file://.../x86/SQLite.Interop.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
Is this error caused by WiX or by my own application?
UPDATE
I tried to add the reference of SQLite.Interop.dll
(x64) to the main project but it gives this error.
A reference to 'V:\Users...\bin\Debug\x64\SQLite.Interop.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.