cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Sorokin (JIRA)" <>
Subject [jira] [Created] (CB-10432) Manifest validation error after removing and re-adding Windows platform
Date Mon, 25 Jan 2016 14:40:40 GMT
Alexander Sorokin created CB-10432:

             Summary: Manifest validation error after removing and re-adding Windows platform
                 Key: CB-10432
             Project: Apache Cordova
          Issue Type: Bug
          Components: js, CLI, lib, Windows
    Affects Versions: Master
         Environment: Windows 10, Cordova 6.0.0-dev
            Reporter: Alexander Sorokin

cordova create foo
cd foo
cordova platform add windows 
cordova plugin add cordova-plugin-test-framework

Change the following line in config.xml
<content src="index.html" />
<content src="cdvtests/index.html" />

cordova run windows

It works fine. Then:
cordova platform rm windows && cordova platform add windows
cordova run windows

It fails with build error:
C:\Cordova\foo>cordova run windows
Building project: C:\Cordova\foo\platforms\windows\CordovaApp.Windows.jsproj
        Configuration : debug
        Platform      : anycpu
MakeAppx : error : Manifest validation error: Line 24, Column 47, Reason: The file name "www\cdvtests\index.html"
red for element "m:Applications/m:Application" doesn't exist in the package. [C:\Cordova\foo\platforms\windows\Cordova
MakeAppx : error : Package creation failed. [C:\Cordova\foo\platforms\windows\CordovaApp.Windows.jsproj]
MakeAppx : error : 0x80080204 - The specified package format is not valid: The package manifest
is not valid. [C:\Cordo
ERROR running one or more of the platforms: Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe:
Command failed with exit code 1
You may not have the required environment or OS to run this project

The issue doesn't reproduce on cordova@5.4.1

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message