使用backgroundMediaPlayback功能时,[UWP] App清单验证错误 [英] [UWP]App manifest validation error when using backgroundMediaPlayback capability

查看:212
本文介绍了使用backgroundMediaPlayback功能时,[UWP] App清单验证错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 


使用  backgroundMediaPlayback功能时,我在生成商店套餐时出现问题,我收到以下错误:


验证错误。错误C00CE014:应用清单验证错误:应用清单必须按照架构有效:


以下是清单的重要部分:


< ;包xmlns =" http://schemas.microsoft.com/appx/manifest/foundation/windows10"的xmlns:熔点=" HTTP://schemas.microsoft.com/appx/2014/phone/manifest"的xmlns:UAP = QUOT; HTTP://schemas.microsoft.com/appx/manifest/uap/windows10"的xmlns:uap3 = QUOT; HTTP://schemas.microsoft.com/appx/manifest/uap/windows10/3"
IgnorableNamespaces =" uap mp uap3">


............


  <功能>

    < Capability Name =" internetClient" />
$
    < uap3:Capability Name =" backgroundMediaPlayback" />

  < / Capabilities>


..............


当我尝试通过以下方式生成商店包时visual studio(store =>创建app包)我得到了开头描述的错误,并且清单被修改为:


  <功能>

    < Capability Name =" internetClient" />
$
    < Capability Name =" backgroundMediaPlayback"的xmlns = QUOT;" />
$
    < uap3:Capability Name =" backgroundMediaPlayback" />

  < / Capabilities>


上周我的视频工作室2017年更新后,我开始收到此错误。 (我今天有一个新的更新15.1,问题仍然存在......)


如果我通过命令提示生成包,这不会发生.... / p>

任何想法?


解决方案

您好jm.villagra_z,


感谢您报告此问题。我可以在我这边重现这个问题,并且我已经向2017年的Visual Studio报告过了。可能需要一些时间进行研究和测试。感谢你的耐心。


祝你好运,


Breeze


Hi, 

I'm having problems generating store packages when using the backgroundMediaPlayback capability, i'm getting the following error:

Validation error. error C00CE014: App manifest validation error: The app manifest must be valid as per schema:

Here is the revelant part of the manifest:

<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" IgnorableNamespaces="uap mp uap3">

............

  <Capabilities>
    <Capability Name="internetClient" />
    <uap3:Capability Name="backgroundMediaPlayback" />
  </Capabilities>

..............

When i try to generate the store packages via visual studio (store => create app packages) i get the error described at the begining and the manifest is modified to:

  <Capabilities>
    <Capability Name="internetClient" />
    <Capability Name="backgroundMediaPlayback" xmlns="" />
    <uap3:Capability Name="backgroundMediaPlayback" />
  </Capabilities>

I've started getting this error whitin visual studio 2017 last week's update. (i've got a new update today 15.1 and the problem is still here....)

This doesn't happens if i generate the packages via command promp....

Any ideas?

解决方案

Hi jm.villagra_z,

Thanks for reporting this issue. I can reproduce this issue in my side and I have reported it to the Visual studio 2017. It maybe need some time for research and test. Appreciate your patience.

Best regards,

Breeze


这篇关于使用backgroundMediaPlayback功能时,[UWP] App清单验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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