Reputation: 811
I install the SQLite from Nuget as below:
And after I ran the program it throws this error:
I feel strange that it showed the Version is 1.0.109.0 but not the version I installed which 1.0.109.2
What's more, I tried the way what Could not load file or assembly 'System.Data.SQLite, Version=1.0.109.0 - Why does it search for version 1.0.109.0 when I have referenced 1.0.109.1
said
But all the way no works.
In addition, I opened the .csproj
and here is the SQLite package reference:
The version in .csproj
is right.
What's wrong with it.Would you please tell me how to solve it? Thank you.
Upvotes: 1
Views: 75
Reputation: 169200
Make sure that the SQLite
assembly gets copied to your output directory so it can be found at runtime. It should if you install the SQLite
package in your UWP app project.
Upvotes: 1