windows - 错误 0xC00CE020 : App manifest validation error: The app manifest must be valid as per schema , ,, 缺少必需的属性 'ForegroundText'

标签 windows win-universal-app

使用“Visual Studio 2015 RC”推出了“空白 Windows 10 通用应用程序”。我无法看到 MainPage.xaml 的设计 View 。设计器显示以下错误:

error 0xC00CE020: App manifest validation error: The app manifest must be valid as per schema: Line 20, Column 8, Reason: Required attribute 'ForegroundText' is missing

尝试在 Package.appxmanifest 文件中包含“ForegroundText="dark"”属性,但该属性似乎未针对 VisualElements 声明。

     <uap:VisualElements
          DisplayName="BackgroundSensorsCS"
          Square150x150Logo="Assets\squareTile-sdk.png"
          Square44x44Logo="Assets\SmallTile-sdk.png"
          Description="BackgroundSensorsCS"
          BackgroundColor="#00b2f0"
          **ForegroundText="dark"**>
            <uap:SplashScreen Image="Assets\Splash-sdk.png" />
            <uap:DefaultTile>
                <uap:ShowNameOnTiles>
                    <uap:ShowOn Tile="square150x150Logo" />
                </uap:ShowNameOnTiles>
            </uap:DefaultTile>
        </uap:VisualElements>

最佳答案

我可以通过选择锁定屏幕通知项目来修复它。

enter image description here

关于windows - 错误 0xC00CE020 : App manifest validation error: The app manifest must be valid as per schema , ,, 缺少必需的属性 'ForegroundText',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30372974/

相关文章:

listview - 在 Outlook 邮件应用程序等 Windows 10 UWP 应用程序中创建 SwipeListView

c - 在 Windows 中为 C 安装编译器?

c# - 如何调试 Windows 应用商店应用程序崩溃?

xaml - 通用 App ListView Item Horizo​​ntalAlignment

cookies - UWP HttpClient 存储 cookie 直到卸载应用程序

c# - UIElement 屏幕截图 UWP - C#

c++ - 每个Windows服务都会调用其可执行的main函数吗?

c# - FolderBrowserDialog 是否有更新版本?

Python 设置 : command not found

windows - 使用 VS2010 创建的二进制文件的最低操作系统是什么?