Reputation: 199
I'm trying to create a .NET WPF application in VS2010 C# but I'm confused over the SQLite downloads and the connection methods available.
First some suggest using the ADO.NET 2.0 Provider for SQLite while they also say that it is using .NET 2.0 code, so I have to use the useLegacyV2RuntimeActivationPolicy attribute:
<startup useLegacyV2RuntimeActivationPolicy="true|false" >
</startup>
Is this the right approach? Any disadvantages of this attribute?
Second I can't decide which package to download from here http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki. There is no info if the x64 version will work correctly on x86 systems, also I couldn't find info about the differences between: the simple "Setup", "Precompiled Binaries" and the "Precompiled Statically-Linked Binaries".
Thanks for the answers in advance.
Upvotes: 1
Views: 430
Reputation: 12131
Use NuGet, search for SQLIte and get the SQLite dll and the ADO.NET provider, NuGet will setup everything else...
Upvotes: 0