我發展我的窗戶在視覺工作室與科爾多瓦普遍應用2013年我部署目標是的Windows Phone 8.1。在我的開發過程中,我突然就死在這樣的警告:的Visual Studio 2013警告DEP0810和錯誤DEP0001與WinJS 2.1和科爾多瓦
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. http://go.microsoft.com/fwlink/?LinkId=260891 CordovaApp.Phone
與此錯誤:
Error : DEP0001 : Unexpected Error: Exception from HRESULT: 0x81030137 CordovaApp.Phone
我已經找到了有關這一問題的一些老問題,但他們沒有幫助我:
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"
Installing Visual Studio Extensions for Windows Library for JS 2.1