System.TypeInitializationException: The type initializer for ‘DbRepair.DbTools’ threw an exception. —> System.IO.FileLoadException: Could not load file or assembly ‘System.Data.SQLite, Version=1.0.67.2, 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.67.2, Culture=neutral, PublicKeyToken=db937bc2d44ff139’
at DbRepair.DbTools…cctor()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
— End of inner exception stack trace —
at DbRepair.DbTools.GetSchemaVersion(String fileName)
at DbRepair.Form1.CheckConsistency(Int32& affectedRows, DbException& consistencyError)
at DbRepair.Form1.Check(Object state)