当我执行我的 Windows 应用商店或通用项目时,Visual Studio 显示以下错误:
Error 1 Error : DEP0700 : Registration of the app failed. Another user has already installed an unpackaged version of this app. The current user cannot replace this with a packaged version. The conflicting package is dff9bf13-e639-46ad-a6ed-61b27be58eed and it was published by CN=owais. (0x80073cf9) tiles
最佳答案
您可能正在尝试在已安装的计算机上安装应用程序。也许您在开发过程中安装了一次,现在正在尝试从另一个帐户或使用不同的部署方法安装它。
有几种方法可以解决这个问题。
最佳方式:删除已安装的应用程序,例如使用 Powershell Remove-AppxPackage
并指定包,然后尝试重新安装。
另一种方式:在您尝试安装的应用程序的 Package.appxmanifest 中更改包名称,编译并重新安装。
例子:
<Package ...>
<Identity Name="5a0c511a-fdfd-4417-80b8-2bedbf437971" ...>
改成:
<Package ...>
<Identity Name="5a0c511a-fdfd-4417-80b8-SomethingElse" ...>
关于windows-store-apps - 在 Windows 应用商店或通用应用中注册应用失败错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32063960/