title: Visual Studio 2013 Warning DEP0810 and Error DEP0001 with WinJS 2.1 and Cordova
body: <p>I am developing my windows universal application with cordova in visual studio 2013. My <strong>deployment target</strong> is <strong>Windows Phone 8.1</strong>. In my developing process i suddenly got stuck on this warning:</p>
  
  <blockquote>
    <p>Warning : DEP0810 : This app references Microsoft.Phone.WinJS.2.1, version 1.0.9651.0, found in your SDK, but you have a higher version of Microsoft.Phone.WinJS.2.1 installed on the target machine, 1.0.9651.40228. If you continue to run this application, it will run against the currently installed version, Microsoft.Phone.WinJS.2.1, version 1.0.9651.40228. Consider updating your SDK to match the version of Microsoft.Phone.WinJS.2.1 that is installed. <a href="http://go.microsoft.com/fwlink/?LinkId=260891" rel="nofollow noreferrer">http://go.microsoft.com/fwlink/?LinkId=260891</a>  CordovaApp.Phone</p>
  </blockquote>
  
  <p>with this error:</p>
  
  <blockquote>
    <p>Error : DEP0001 : Unexpected Error: Exception from HRESULT: 0x81030137    CordovaApp.Phone</p>
  </blockquote>
  
  <p>I have already found some older questions relating this issue, but they <strong>did not help</strong> me:</p>
  
  <ol>
  <li><p><a href="https://stackoverflow.com/questions/25274076/update-the-reference-from-microsoft-phone-winjs-2-1-version-1-0-9651-0-to-versi">Editing the App Package Version property <code>SDKManifest.xml</code></a>:</p>
  
  <p>Changing this line:</p>
  
  <pre><code>FrameworkIdentity="Name=Microsoft.Phone.WinJS.2.1, MinVersion=1.0.9651.0"
  </code></pre>
  
  <p>to: </p>
  
  <pre><code>FrameworkIdentity="Name=Microsoft.Phone.WinJS.2.1, MinVersion=1.0.9651.40228"
  </code></pre></li>
  <li><p><a href="https://stackoverflow.com/questions/17673744/getting-error-with-sdk-on-visual-studio-2012">Installing Visual Studio Extensions for Windows Library for JS 2.1</a></p></li>
  </ol>