Question

I have downloaded and installed sqlite-netFx45-setup-bundle-x86-2012-1.0.88.0.exe, but despite following various instructions have not been able to see it in any way from within Visual Studio 2012. From what I understand, it is only the x86 install package shown above that will install the visualizer into VS2012. I have opened the Choose Data Source dialog from the Server Explorer, and do not see the SQLite Database File option shown. Additionally, I have tried adding SQLite to my project and installing via the NuGet system, which appeared to install correctly, however I still see nothing anywhere. I have read various tutorials and it seems I am following all the instruction correctly, except I do not see SQLite listed anywhere in any lists of Data sources. I have tried doing this with a new project, and after restarting my machine, but same result, nothing. What am I doing wrong, or what can I reset or try differently? Some obvious step I am missing that everyone assumes? Thanks.

Was it helpful?

Solution 2

I solved the problem by installing then uninstalling both the downloadable install and the NuGet installed package. Then installed using NuGet, then installed with the downloadable package. I doubt that is actually a real solution, other than it snapped something in place that didn't take the first time.

Anyways, thank you for the help.

OTHER TIPS

Just found this info, check it out:

Install the Provider
In order to connect to SQLite databases, we will need to install an appropriate ADO.NET and Entity Framework provider. Luckily, the provider we're using is available via NuGet.

  1. Inside PMC, run Install-Package System.Data.SQLite.x86

We also need to register the provider. Open App.config, and anywhere inside the configuration element, add the following fragment.

<system.data>
  <DbProviderFactories>
    <add name="SQLite Data Provider"
          invariant="System.Data.SQLite"
          description="Data Provider for SQLite"
          type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
  </DbProviderFactories>
</system.data>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top