Jerroyd Moore created CB-9263:
---------------------------------

             Summary: Windows8 build fails when using local project/platform 
caches
                 Key: CB-9263
                 URL: https://issues.apache.org/jira/browse/CB-9263
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, Windows 8
    Affects Versions: 4.1.0
         Environment: Windows8.1.
            Reporter: Jerroyd Moore
            Assignee: Jesse MacFadyen


Related: https://issues.apache.org/jira/browse/CB-5350

I created a copy of the cordova-windows project on my localhost. When I perform 
a platform add against the local copy, the build fails as the AppxManifest.xml 
file does not conform to the specified schema.

1. clone cordova-windows $ git clone 
https://github.com/apache/cordova-windows.git /path/to/cordova-windows
2. Add the local platform. $  cordova platform add /path/to/cordova-windows/ 
--verbose
3. Prepare the platform. $ cordova prepare windows --verbose --release -- 
--verbose --phone
4. Compile for windows phone 8.1. $ cordova compile windows --verbose --release 
-- --verbose --phone
d:\CordovaHelloWorld\platforms\windows\build\phone\release\anycpu\AppxManifest.
The following error occurs during build:
D:\path\to\windows-cordova\build\phone\release\anycpu\AppxManifest.xml(40,6): 
error APPX1404: File content does not conform to specified schema. T
he element 'Capabilities' in namespace 'http://schemas.microsoft.com/appx/2010/
manifest' has invalid child element 'Capability' in namespace 'http://schemas.m
icrosoft.com/appx/2010/manifest'. List of possible elements expected: 'DeviceCa
pabilityChoice, DeviceCapability' in namespace 'http://schemas.microsoft.com/ap
px/2010/manifest' as well as 'DeviceCapability' in namespace 'http://schemas.mi
crosoft.com/appx/2013/manifest'. 
[D:\path\to\windows-cordova\CordovaApp.Phone.jsproj]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to