为什么我收到“包裹无法注册"的消息?Windows 10 UWP 上的部署错误? [英] Why am I getting a "package could not be registered" deployment error on Windows 10 UWP?

查看:26
本文介绍了为什么我收到“包裹无法注册"的消息?Windows 10 UWP 上的部署错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个针对 Windows 10 和 UWP 的应用程序.该应用程序在 x86 和 x64 上正确运行,但是当我尝试在诺基亚 Lumia 820 上以 ARM 为目标的移动设备上运行它时,我在部署过程中收到一条错误消息:

I have an application targetted for Windows 10 and the UWP. The application correctly runs for x86 and x64 but when I try to run it on a mobile device targetting ARM on a Nokia Lumia 820 I get an error message during deployment:

DEP0001:意外错误:无法注册包.(来自 HRESULT 的异常:0x80073CF6)

DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)

还有其他与此错误相关的问题表明 这可能是共享用户证书的问题 或者 您不能在同一个后台任务中使用音频和设备,但我使用其中任何一个这些.还有一个建议是 这可能是由于缺少图标 但是据我所知,我添加的图标比我实际需要的要多得多.

There are other questions relating to this error that suggest it could be an issue with shared user certificates or that you can't have Audio and Device use in the same background task but I am not using either of these. There is also a suggestion that this may be due to a missing icon however to the best of my knowledge I am including far more icons than I actually need.

我尝试从我的资产文件夹中删除所有内容并将其从清单中删除,但这也没有解决问题.

I have tried removing everything from my assets folder and removing it from the manifest but this also hasn't solved the problem.

编辑我还尝试创建一个新的空白通用项目,它也可以在 x86 和 x64 上运行,但不能在移动设备上运行.

Edit I've also tried creating a new blank universal project and that too runs on x86 and x64 but not on the mobile.

推荐答案

您必须在 Lumia 上运行 Windows 10 Mobile,并且您至少应该拥有操作系统版本 10.0.10240.x.这将适用于 Visual Studio 2015 的发布版本.如果您有 Visual Studio 的 CTP 或预览版本,则应更新它们以使其运行.

You have to run Windows 10 Mobile on your Lumia and you should at least have OS Version 10.0.10240.x. This will work with the release Version of Visual Studio 2015. If you have a CTP or Preview Version of Visual Studio, you should update them to release to get it running.

要在手机上进行预览,您需要在手机上安装 Windows Insider 应用并按照说明进行操作.选择快速振铃"以获取最新位.http://windows.microsoft.com/en-us/windows/preview-下载电话

To get the preview onto the phone, you need the Windows Insider app on your phone and follow the instructions. Choose "fast ring" to get the latest bits. http://windows.microsoft.com/en-us/windows/preview-download-phone

在此处获取应用:https://www.microsoft.com/de-de/store/apps/windows-insider/9wzdncrfjbhk

这应该适合你.

有关当前预览版本的更多信息,请查看此链接:http://blogs.windows.com/bloggingwindows/2015/08/12/annoucing-windows-10-mobile-insider-preview-build10512/

For more info on the current preview version check this link: http://blogs.windows.com/bloggingwindows/2015/08/12/announcing-windows-10-mobile-insider-preview-build10512/

这篇关于为什么我收到“包裹无法注册"的消息?Windows 10 UWP 上的部署错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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