简体   繁体   中英

Problems with SQLite and VS2013

I've got a (hopefully) simple question. We're using Visual Studio 2013 and have a .Net 4.0 project. We would like to use a SQLite Database in this project. But all we can find are installations for VS2010 + .Net 4.0. If i Install this Version I cannot add a SQLite Connection in the Server Explorer view.

Is this in generall not possible or is there a way to add a SQLite Connection using VS2013 and .Net 4.0?

Thanks in advance

Here is the link to the SQLite package for .NET 4.5.1 with design-time components for Visual Studio 2013.

Unfortunately, as stated on the SQLite website:

This setup package features the mixed-mode assembly and will install all the necessary runtime components and dependencies for the x86 version of the System.Data.SQLite 1.0.97.0 (3.8.10.2) package. The Visual C++ 2013 Update 2 runtime for x86 is included. The .NET Framework 4.5.1 is required.
This is the only setup package that is capable of installing the design-time components for Visual Studio 2013.

So you would have to choose between:

  • Upgrade your project to .NET Framework 4.5.1
  • Use the SQLite dll for .NET Framework 4.0 and don't have the design-time components

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM