更改包名后,注册应用程序失败 [英] Registration of the app failed after changing package name

查看:145
本文介绍了更改包名后,注册应用程序失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

成功将通用Windows应用程序部署到Windows Phone(10),然后复制项目,重命名它(显示名称)而不更改包名称(guid)并创建了来自副本的新应用程序(不同的Web服务,不同的
模型等)。然后我成功地将新应用程序部署到同一部手机,但原始应用程序奇怪地自动删除。我猜测问题是他们共用同一个guid,但我想在手机上安装两个。我更改了第二个应用程序的包
名称(guid),并再次成功重新部署,保持原始应用程序guid不变。然后我尝试再次部署第一个应用程序,但它失败了(注册失败错误)。它确实继续在本地计算机上成功运行。我在第一个应用程序上更改了
包名guid,它仍然失败并出现相同的错误。我重新启动了手机和部署工作站,但无法部署原始应用程序。我做错了什么? 

I successfully deployed a Universal Windows app to a Windows Phone (10) then copied the project, renamed it (display name) without changing the package name (guid) and created a new app from the copy (different web service, different models etc.). Then I successfully deployed the new app to the same phone but the original app was strangely automatically removed. I guessed that the problem was that they shared the same guid, but I wanted both installed on the phone. I changed the package name (guid) of the second app and redeployed it successfully again, leaving the original app guid unchanged. Then I tried to deploy the first app again but it failed (registration failed error). It does continue to run successfully on local machine. I changed the package name guid on the first app and it still fails with the same error. I've restarted both the phone and my deployment workstation but can't deploy the original app. What have I done wrong? 

推荐答案

嗨rclancy

有您是否尝试在部署之前卸载应用程序?

为什么要通过复制项目创建不同的项目?如果你想用相同的代码创建两个应用程序,那么创建一个空白项目并将代码复制到它上面会更好
。保持项目的清单文件是不同的。

最好的问候,

Roy


这篇关于更改包名后,注册应用程序失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆