title: Unable to load DLL 'sqlite3.dll': The specified module could not be found in UWP Xamarin.Forms
body: <p>I am trying to write app for UWP Xamarin.Forms with use of <a href="https://www.nuget.org/packages/Microsoft.Azure.Mobile.Client.SQLiteStore" rel="nofollow">Azure Mobile SQLiteStore</a> package. </p>
  
  <p>I struggle with SQLitePCL package which is dependency of that mentioned above package. </p>
  
  <p>In my UWP project I referenced extension SQLite for Universal Windows Platform also it's dependency Microsoft.VCLibs</p>
  
  <p><strong>Error is</strong> : Unable to load DLL 'sqlite3.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)</p>
  
  <p>Android app works fine, only UWP has this problem crashing app as soon as it start to call SQLite.</p>
  
  <p><strong>And Stacktrace:</strong></p>
  
  <pre><code>at SQLitePCL.SQLiteConnection.SetTemporaryDirectory()
  at SQLitePCL.SQLiteConnection..ctor(String fileName, SQLiteOpen openFlag, Boolean setTemporaryDirectory)
  at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStore..ctor(String fileName)
  at WellDoneIt.Services.WellDoneItMobileService.d__7.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
  at WellDoneIt.Services.WellDoneItMobileService.d__8.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
  at WellDoneIt.ViewModel.ListViewModel.d__4.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
  at WellDoneIt.ViewModel.ListViewModel.&lt;&lt;-ctor&gt;b__2_2&gt;d.MoveNext()
  --- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.&lt;&gt;c.b__6_0(Object state)
  at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()
  </code></pre>
  
  <p>Anyone knows how to solve this issue?</p>
  
  <p><strong>Update</strong>:
  I have also double checked processor architecture and for emulator it is set to x86, and for real Win10 Mobile device it is set to ARM. </p>
  
  <p>On both getting exactly the same issue. However when I run my app on local machine (my Windows 10 OS I develop on) everything works fine.</p>
  
  <p>Thanks in advance.</p>