Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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>
like image 539
Naveen Saini Avatar asked Feb 01 '26 18:02

Naveen Saini


2 Answers

I was able to fix it by selecting Lock screen notifications item.

enter image description here

like image 51
Friend Avatar answered Feb 04 '26 08:02

Friend


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.

like image 40
RickJansen Avatar answered Feb 04 '26 07:02

RickJansen