我收到以下错误:
Severity Code Description Project File Line Error Error : DEP0700 : Registration of the app failed. AppxManifest.xml(32,10) 0x80080204: The c93686ac-1599-4433-8cfd-8a1d3e588ac8 package cannot register an alarm extension because it does not have the required lock screen capability. (0x80073cf6) HelloRealWorld
在APPX(Package.appxmanifest)文件中我添加了警报声明,但看不到添加的锁屏功能,我做错了什么吗?
最佳答案
只需执行以下步骤:
打开 appxmanifest 设计器,在应用程序选项卡上,将锁屏通知更改为“徽章”。
切换到“视觉 Assets ”选项卡并选择徽章 Logo 并指定日志图像。出于测试目的,只需指定默认包含在项目中的LockScreenLogo.png即可。
这是截图供您引用。
关于uwp - 警报声明给出错误 UWP 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33096622/