title: sqllite3.dll issues with UWP app development for Mobile
body: <p>I am trying to learn how to develop apps for UWP for both Desktop and Mobile.  I have been currently working on getting the Entity Framework working in my app to store application state and followed the following link:</p>
  
  <p><a href="https://docs.microsoft.com/en-us/ef/core/get-started/uwp/getting-started" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/ef/core/get-started/uwp/getting-started</a></p>
  
  <p>It worked well for Desktop, the issue however is that when I try to run it on the Windows Mobile emulator I get the following error in debug mode when the code reaches the db.Database.Migrate() step:</p>
  
  <pre><code>Unable to load DLL 'sqlite3': The specified module could not be found
  </code></pre>
  
  <p>In the link I pasted above, someone else had the same issue and in the comments they recommended to try the following:</p>
  
  <pre><code>Step 1: Install SQLite VSIX pacakge for Universal Windows Platform development using Visual Studio 2015
  https://www.sqlite.org/2016/sqlite-uwp-3130000.vsix
  
  Step 2: Install NuGet package SQLite.NET-PCL
  Install-Package SQLite.NET-PCL
  
  Step 3: Add references
  Add Reference -&gt; Universal Windows -&gt;Extensions -&gt; Make sure the following packages have been checked: "SQLite for Universal Windows Platform" "Visual C++ 2015 Runtime for Universal Windows Platform Apps"
  After that, if you get the error "Payload contains two or more files with the same destination path 'sqlite3.dll', do the following:
  copy sqlite3.dll from 
  C:\Program Files (x86)\Microsoft SDKs\UAP\v0.8.0.0\ExtensionSDKs\SQLite.UAP.2015\3.8.11.1\Redist\Debug\ARM\sqlite3.dll
  past to (override it)
  C:\Users\%USERNAME%\.nuget\packages\SQLitePCL.raw_basic\0.7.1\build\native\sqlite3_dynamic\winrt81\arm\sqlite3.dll
  </code></pre>
  
  <p>The problem after doing those steps is that I am now seeing the issue when doing a build for "Payload contains two or more files" however not in the SQLitePCL.raw_basic directory (I don't even seem that have that).  Instead my error is the following:</p>
  
  <pre><code>Payload contains two or more files with the same destination path 'sqlite3.dll'. Source files: 
  C:\Users\admin\.nuget\packages\SQLite\3.13.0\runtimes\win7-x86\native\sqlite3.dll
  C:\Program Files (x86)\Microsoft SDKs\UAP\v0.8.0.0\ExtensionSDKs\SQLite.UWP.2015\3.13.0\Redist\Debug\x86\sqlite3.dll
  </code></pre>
  
  <p>I have been searching everywhere and am truly stumped as to how to get my UWP program working on Mobile.  Thanks a lot for your help!</p>