title: 'No Entity Framework provider found' for EF 6 and SQLite 1.0.96.0
body: <p>I realize there are already several similar questions on this topic, but many of them are from older version of SQLite which did not fully support EF 6 as far as I am aware. I have tried countless suggestions from these threads and am either doing something wrong or something must have changed.</p>
  
  <p>I am using VS 2013, targeting .NET 4.5.1 and have installed the sqlite-netFx451-setup-bundle-x86-2013-1.0.96.0.exe package from the <a href="https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki">system.data.sqlite.org download page</a>, as well as the System.Data.SQLite EF6 package from the NuGet Manager (which installs EF6).</p>
  
  <p>Below is my current App.config file (it is pretty much untouched except I tried adding the Version, Culture, and Public key variables to the type):</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
    &lt;configSections&gt;
      &lt;!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --&gt;
      &lt;section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
    &lt;/configSections&gt;
    &lt;startup&gt;
      &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" /&gt;
    &lt;/startup&gt;
    &lt;entityFramework&gt;
      &lt;defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"&gt;
        &lt;parameters&gt;
          &lt;parameter value="mssqllocaldb" /&gt;
        &lt;/parameters&gt;
      &lt;/defaultConnectionFactory&gt;
      &lt;providers&gt;
        &lt;provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /&gt;
        &lt;provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6, Version=1.0.96.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" /&gt;
      &lt;/providers&gt;
    &lt;/entityFramework&gt;
    &lt;system.data&gt;
      &lt;DbProviderFactories&gt;
        &lt;remove invariant="System.Data.SQLite.EF6" /&gt;
        &lt;add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6, Version=1.0.96.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139"
        /&gt;
      &lt;/DbProviderFactories&gt;
    &lt;/system.data&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>And my packages.config:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;packages&gt;
    &lt;package id="EntityFramework" version="6.1.2" targetFramework="net451" /&gt;
    &lt;package id="System.Data.SQLite.EF6" version="1.0.96.0" targetFramework="net451" /&gt;
  &lt;/packages&gt;
  </code></pre>
  
  <p>If I do something such as attempt to Generate a Database from Model I see the following error:</p>
  
  <blockquote>
    <p>No Entity Framework provider found for the ADO.NET provider with
    invariant name 'System.Data.SQLite.EF6'. Make sure the provider is registered in the 'entityFramework' section...</p>
  </blockquote>
  
  <p>I've tried messing around the the App.config file and adding other providers and providers as old threads have suggested but to no avail. </p>
  
  <p>How do I fix this problem? Any help is greatly appreciated!</p>
  
  <p><strong>Edit:</strong> I managed to get it to work well enough to use a database first approach. Here is the relevant parts of my App.config file:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;providers&gt;
       &lt;provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /&gt;
  &lt;/providers&gt;
  
  &lt;DbProviderFactories&gt;
       &lt;remove invariant="System.Data.SQLite" /&gt;
       &lt;remove invariant="System.Data.SQLite.EF6" /&gt;
       &lt;add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /&gt;
       &lt;add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /&gt;
  &lt;/DbProviderFactories&gt;
  </code></pre>
  
  <p>I'm using EF 6.1.2 and System.Data.SQLite 1.0.96.0.</p>