FileLoadException: Could not load file or assembly
I have a program with mostly managed DLL's and one native DLL ( System.Data.SQLite ). I'm using the Packer/Compressor setting to pack all managed DLLs and exe file into a single exe.
I'm deploying the native SQLite dll as a separate binary.
So my file structure looks like: - packed_file.exe - System.Data.SQLite.dll
It works fine on Windows 7, Windows 8.1, but on Windows 10 ( Build 10240 ) ( I have just tested on this build of windows 10 on 2 separate laptops ) it gives the following error:
System.IO.FileLoadException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'System.Data.SQLite, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' at .() at -------------()
How can I resolve this issue ? @yck1509 @jbeshir
I have the same issue but with Newtonson Json dll
I have the same error with other json dll