这个问题已经有了答案:
当我尝试在添加后构建我的uwp c应用程序时,会出现以下错误…
<rescap:Capability Name="broadFileSystemAccess" />
…支持BroadFileSystemAccess的清单。
舱单
将鼠标悬停在水平蓝色曲线上时出现弹出错误…
鼠标悬停在上面时出错…
“命名空间中的元素功能” http://schemas...has 无效 命名空间中的子元素“capability”…
生成错误…
验证错误。错误C00CE014:应用程序清单验证错误:The 应用程序清单必须根据架构有效:第40行第6列,原因: 元素 { http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities }能力 根据父元素的内容模型是意外的 { http://schemas.microsoft.com/appx/manifest/foundation/windows10 }能力。 期望: { http://schemas.microsoft.com/appx/manifest/foundation/windows10 }设备可用性。
按照汉斯·帕桑特的建议,解决了这个问题。 具体来说,我改变了 ignorablenamespaces=“UAP MP重新映射”
到 ignorablenamespaces=“UAP MP”