【问题标题】:Visual Studio 2013 Warning DEP0810 and Error DEP0001 with WinJS 2.1 and CordovaVisual Studio 2013 警告 DEP0810 和错误 DEP0001 与 WinJS 2.1 和 Cordova
【发布时间】:2015-11-30 11:06:33
【问题描述】:

我正在Visual Studio 2013 中使用cordova 开发我的Windows 通用应用程序。我的部署目标 是Windows Phone 8.1。在我的开发过程中,我突然被这个警告卡住了:

警告:DEP0810:此应用引用 Microsoft.Phone.WinJS.2.1,版本 1.0.9651.0,在您的 SDK 中找到,但您在目标计算机上安装了更高版本的 Microsoft.Phone.WinJS.2.1,1.0。 9651.40228。如果您继续运行此应用程序,它将针对当前安装的版本 Microsoft.Phone.WinJS.2.1,版本 1.0.9651.40228 运行。考虑更新您的 SDK 以匹配已安装的 Microsoft.Phone.WinJS.2.1 版本。 http://go.microsoft.com/fwlink/?LinkId=260891CordovaApp.Phone

出现此错误:

错误:DEP0001:意外错误:HRESULT 异常:0x81030137 CordovaApp.Phone

我已经找到了一些与此问题相关的旧问题,但它们没有帮助我:

  1. Editing the App Package Version property SDKManifest.xml:

    改变这一行:

    FrameworkIdentity="Name=Microsoft.Phone.WinJS.2.1, MinVersion=1.0.9651.0"
    

    到:

    FrameworkIdentity="Name=Microsoft.Phone.WinJS.2.1, MinVersion=1.0.9651.40228"
    
  2. Installing Visual Studio Extensions for Windows Library for JS 2.1

【问题讨论】:

    标签: cordova visual-studio-2013 windows-phone-8.1 winjs


    【解决方案1】:

    经过一些研究和尝试,我可以确定问题所在。我有两个 windows phone 8.1 设备(诺基亚 Lumia 620 和一个 Lumia 930)。总是在这两种设备之间切换会导致上述警告和错误。

    我只需要做的就是在再次部署之前卸载设备上的相关应用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多