Simple.Data.SQLite referencing wrong version [SOLVED]

I started to use Simple.Data.SQLite and would install through Nu-get and noticed Simple.Data tried to reference System.Data.SQLite version 1.0.91.0 while Nu-get would only install vserion 1.0.94.0

This would cause an error while trying to compile and it would fail.

The error would be described as below:

 

System.IO.FileLoadException: Could not load file or assembly ‘System.Data.SQLite, Version=1.0.91.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)

SOLUTION

To fix this, I added an entry into the app.config file to point version 1.0.91.0 to the newer version 1.0.94.0