如何诊断Metro应用程序部署错误? [英] How to diagnose metro app deployment errors?
问题描述
当尝试从VS调试Metro项目时,我遇到这个错误:
When trying to debug a Metro project from VS, I came across this error:
DEP0700:注册应用程序失败。另一个用户已经安装了这个应用程序的打包版本。未包装的版本无法替代。冲突的包是PACKAGENAME,它由CN = some Guid发布。 (0x80073cf9)
DEP0700 : Registration of the app failed. Another user has already installed a packaged version of this app. An unpackaged version cannot replace this. The conflicting package is PACKAGENAME and it was published by CN=some Guid. (0x80073cf9)
但是我已经从起始页面卸载了该应用程序,此外,我可以确认没有任何条目添加/删除程序。
But I have already uninstalled the app from the Start page, also, I can confirm that there is no entry left in Add/Remove program.
由于访问应用程序文件所在的%PROGRAMFILES%\WindowsApps文件夹被阻止,所以我无法查看应用程序是否仍然存在。
And since the access to the "%PROGRAMFILES%\WindowsApps" folder where the app files reside in is blocked, so I have no way to see if the app is still there.
但是,我仍然可以在注册表中找到许多PACKAGENAME发生。
However, I can still find many 'PACKAGENAME' occurances in the registry.
如何诊断这个如何摆脱打包版本,所以我可以从VS开始调试?
How to diagnose this? How to get rid of the "packaged version" so I can start debugging from VS?
推荐答案
我找到一个解决方案的问题。据说这是一个分阶段包,它不会出现在我的起始页面,所以我无法以正常方式卸载它。我按照步骤,成功地摆脱了un-uninstallable:)包。
I find a solution to the problem. It's said it is a "staged package" that does not show up in my start page so I can not uninstall it in normal way. I follow the steps, and successfully get rid of that "un-uninstallable" :) package.
这篇关于如何诊断Metro应用程序部署错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!