[UWP] ForegroundText属性 - mainfest [英] [UWP]ForegroundText attribute - mainfest

查看:259
本文介绍了[UWP] ForegroundText属性 - mainfest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,



有没有办法为Win10 UWP应用程序使用'ForegroundText'属性。我们知道这个属性已被弃用,但我们的实时图块具有白色背景,我们希望将outlooktext属性设置为暗,以使文本可见。有人可以请求帮助
请求吗?



谢谢!

解决方案

谢谢,Xavier!我这样做了它的确有效,但问题是我无法用这个生成appx pacakges ..我看到一个错误



MakeAppx:错误:错误信息:错误C00CE015:应用清单验证错误:应用清单必须按照架构有效:第113行,第131列,原因:元素
'{http://schemas.microsoft.com/appx/manifest/uap/windows10}VisualElements'上的属性'ForegroundText'未在DTD / Schema中定义。


MakeAppx:错误:包创建失败。


MakeAppx:错误:0x80080204 - 指定的包格式无效:包清单无效



所以,想知道我是否仍然可以使用此属性集生成appx pacakges。





Hi Team,

Is there a way to use 'ForegroundText' attribute for Win10 UWP apps. We know that this attribute is deprecated but our live tile has white background and we want the foregroundtext attribute set to dark for the text to be visible. Can someone please help with the request?

Thanks!

解决方案

Thanks, Xavier! I did that and it works but the issue is that I'm not able to generate appx pacakges with this.. I see an error

MakeAppx : error: Error info: error C00CE015: App manifest validation error: The app manifest must be valid as per schema: Line 113, Column 131, Reason: The attribute 'ForegroundText' on the element '{http://schemas.microsoft.com/appx/manifest/uap/windows10}VisualElements' is not defined in the DTD/Schema.

MakeAppx : error: Package creation failed.

MakeAppx : error: 0x80080204 - The specified package format is not valid: The package manifest is not valid

So, would like to know if I can still generate appx pacakges with this attribute set.


这篇关于[UWP] ForegroundText属性 - mainfest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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