title: Windows 8.1 Store App and SQLite
body: <p>I need to create a Windows 8.1 Store App, and I need a portable database ; SQLite seems a good choice.</p>
  
  <p>Unfortunately, I spent the entire day trying to understand which bits and pieces I must put together to make it all work. I found many articles targeting Windows 8, but none targeting 8.1. Besides that, I found a lot of wrappers, helpers, etc. which only add to the confusion.</p>
  
  <p>So far, I have installed SQLite 3.8.5 as a VS extension using this link: <a href="http://visualstudiogallery.msdn.microsoft.com/1d04f82f-2fe9-4727-a2f9-a2db127ddc9a" rel="nofollow">http://visualstudiogallery.msdn.microsoft.com/1d04f82f-2fe9-4727-a2f9-a2db127ddc9a</a>  </p>
  
  <p>I have also installed the NuGet sqlite-net package, using the VS NuGet Manager. My project compiles ok with the 2 new files.</p>
  
  <p>After these two steps, I am still not able to use SQLite. The SQLite namespace is not visible.</p>
  
  <p>My goal is simple: install the official SQLite package. Optionally, I would love being able to use SQLite-net on top of it. Also, can somebody point me to a good SQLite tutorial (VB/C#).</p>
  
  <p>Thanks in advance. </p>
  
  <p>EDIT:
  I decided to forget sqlite-net for the moment, and tried a simple read of a test database.</p>
  
  <pre><code>Dim s as new SQLiteWinRT.Database("test.db")
  Await s.OpenAsync(SQLiteWinRT.SqliteOpenMode.OpenReadWrite)
  </code></pre>
  
  <p>produces this strange error: compobj.dll is too old for the ole2.dll initialised (Exception from HRESULT: 0x8004000E (OLE_E_WRONGCOMPOBJ))</p>