windows-store-apps - 在 Windows 应用商店或通用应用中注册应用失败错误

标签 windows-store-apps win-universal-app

当我执行我的 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/

相关文章:

windows-store-apps - 签名工具错误 : The specified algorithm cannot be used or is invalid

c# - 在通用 Windows 平台中更改按钮样式

c# - OData 扩展在客户端 Win8.1 通用应用程序上失败

c# - 从 MVVM Light ViewModelLocator 获取唯一 ViewModel 的正确方法

Javascript - 通用 Windows 应用程序 - 捕获关闭事件

c# - 使用移动应用程序后端在 UWP 中注销

c# - 用于在 Windows Phone 和商店应用程序中进行测试的用户名/密码

c# - 访问 Windows 10 离线 map

visual-c++ - 如何确定在 Windows 应用商店/通用应用程序中无法加载哪个 Dll 依赖项?

winrt-xaml - 如何在手机上隐藏元素?