Tuesday, November 5, 2013

windows8 javascript metro application cannot debug (draft)

1.error

1>框架: Microsoft.WinJS.1.0/neutral,当前未安装应用程序包版本 1.0.9200.20789。
1>正在安装缺少的框架...
1>错误 : DEP0800 : 所需框架“C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.WinJS.1.0\1.0\Microsoft.WinJS.1.0.appx”安装失败。
1>错误 0xC0020017: 在安装 Microsoft.WinJS.1.0_1.0.9200.20789_neutral__8wekyb3d8bbwe 时,windows.licensing 无法启动 WSService。请重试,如果问题仍然存在,请联系程序包发布者。
1>将应用程序部署到目标设备失败。
========== 部署: 成功 0 个,失败 1 个,跳过 0 个 ==========



2.fixed:


no method now


3.other try method log



3.1 run

wsreset.exe

not fixed it.


3.2 clean up all files in

C:\Windows\SoftwareDistribution\Download

not fixed it


3.3 Run the Modern UI App troubleshooter and check if it helps.


http://download.microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

not fixed it

3.4 remove package by powershell

For futur people that will have this issue I found a clean solution with no need to logout or to change the GUID:

Run powershell as administrator :

Get-AppxPackage

and copy the package name of your app

Remove-AppxPackage yourpackagename

result:

PS C:\Users\德亮> Remove-AppxPackage  Microsoft.WinJS.1.0_1.0.9200.20602_neutral__8wekyb3d8bbwe
Remove-AppxPackage : 部署失败,原因是 HRESULT: 0x80073CF3, 包无法进行更新、相关性或冲突验证。 (异常来自 HRESULT:0x80073
CF3)
Windows 无法删除框架 Microsoft.WinJS.1.0_1.0.9200.20602_neutral__8wekyb3d8bbwe,因为程序包 microsoft.windowscommunicat
ionsapps Microsoft.ZuneMusic Microsoft.XboxLIVEGames Microsoft.BingSports Microsoft.ZuneVideo Microsoft.Bing microsoft.
microsoftskydrive Microsoft.BingWeather Microsoft.BingFinance Microsoft.BingNews microsoft.windowsphotos Microsoft.Bing
Travel 19534Dalmatian.25365C9F24890 当前依赖于该框架。如果删除所有依赖于该框架的程序包,则会自动删除该框架。
注: 有关其他信息,请在事件日志中查找 [ActivityId] b05497fe-c8ca-0003-3a2d-75b0cac8ce01,或使用命令行 Get-AppxLog -Activ
ityID b05497fe-c8ca-0003-3a2d-75b0cac8ce01
所在位置 行:1 字符: 1
+ Remove-AppxPackage Microsoft.WinJS.1.0_1.0.9200.20602_neutral__8wekyb3d8bbwe
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.WinJS...__8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand



 





not successed to operatored this

No comments: