Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
1. Create a new Cordova project
2. Open config.xml
3. Add <preference name="BackgroundColor" value="transparent"/> to the file.
4. Build for Windows platform
Actual:
APPX3037
App manifest validation failed. Value '#transparent' of attribute '/Package/Applications/Application/m3:VisualElements/@BackgroundColor' is not a valid color name or color hexadecimal identifier.
This is because the generated appmanifest has this line :
<uap:VisualElements BackgroundColor="#transparent" ... />
where it doesn't expect the value to be a named color value other than a hexadecimal color value.
Expected:
The appmanifest file can be generated correctly, with a value like:
<uap:VisualElements BackgroundColor="transparent" ... />
or
<uap:VisualElements BackgroundColor="turquoise" ... />