使用“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>
最佳答案
关于windows - 错误 0xC00CE020 : App manifest validation error: The app manifest must be valid as per schema , ,, 缺少必需的属性 'ForegroundText',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30372974/