title: WP8 SQLite error: The specified module could not be found
body: <p>I'm trying access a SQLite database from my Windows Phone 8 app but am encountering the following error whenever SQLite code is hit:</p>
  
  <pre><code>{System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
     at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
     at Sqlite.Sqlite3.sqlite3_open_v2(String filename, Database&amp; db, Int32 flags, String zVfs)
     at SQLite.SQLite3.Open(String filename, Database&amp; db, Int32 flags, IntPtr zVfs)
     at SQLite.SQLiteConnection..ctor(String databasePath, SQLiteOpenFlags openFlags, Boolean storeDateTimeAsTicks)
     at TopoMap.Map.MapTileServer.&lt;Initialise&gt;d__0.MoveNext()}
  </code></pre>
  
  <ul>
  <li>I've installed the Visual Studio extension <strong>SQLite for Windows Phone</strong> (v3.8.4.3).</li>
  <li>I've installed the <strong>sqlite-net-wp8</strong> NuGet package (v3.8.4.3).</li>
  <li>I've added <strong>SQLite.cs</strong> and <strong>SQLiteAsync.cs</strong> to my project.</li>
  <li>I've added the <strong>USE_WP8_NATIVE_SQLITE</strong> conditional compilation symbol to my project.</li>
  </ul>
  
  <p>The project runs fine with no issues until a line of code is hit that accesses the underlying Sqlite3 class.</p>
  
  <p>Any ideas what the issue might be?</p>