Launched a "blank Windows 10 Universal App" using "Visual Studio 2015 RC". I am not able to see the design view for MainPage.xaml. The designer shows the following Error:
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
Tried including 'ForegroundText="dark"' attribute in Package.appxmanifest file but the attribute seems to be undeclared for 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>
I was able to fix it by selecting Lock screen notifications item.

For me, today, Visual Studio 2022, this happened after adding Badge Logos to the Visual Assets in the App Manifest, for store distribution. Apparently, when you add badges it is assumed you are receiving notifications, and you are required to select "Lock screen notifications" in the "Application" tab in the package manifest editor. Once you select Lock screen notifications: Badge the error disappears. Or, remove the Badge Logos if you don't need them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With