[ 
https://issues.apache.org/jira/browse/CB-10432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115564#comment-15115564
 ] 

Steve Gill edited comment on CB-10432 at 1/25/16 5:19 PM:
----------------------------------------------------------

With 5.4.1, which version of cordova-windows were you using? 4.3.0 (latest 
released) or 4.1.0 (that was the pinned version).

I'll start looking into this but it could be related to PlatformAPI changes in 
windows 4.3.0. 


was (Author: stevegill):
With 5.4.1, which version of windows were you using? 4.3.0 (latest released) or 
4.1.0 (that was the pinned version).

I'll start looking into this but it could be related to PlatformAPI changes in 
windows 4.3.0. 

> Manifest validation error after removing and re-adding Windows platform
> -----------------------------------------------------------------------
>
>                 Key: CB-10432
>                 URL: https://issues.apache.org/jira/browse/CB-10432
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, js, lib, Windows
>    Affects Versions: Master
>         Environment: Windows 10, Cordova 6.0.0-dev
>            Reporter: Alexander Sorokin
>
> {noformat}
> cordova create foo
> cd foo
> cordova platform add windows 
> cordova plugin add cordova-plugin-test-framework
> {noformat}
> Change the following line in config.xml
> {code}
> <content src="index.html" />
> {code}
> to:
> {code}
> <content src="cdvtests/index.html" />
> {code}
> Then:
> {noformat}
> cordova run windows
> {noformat}
> It works fine. Then:
> {noformat}
> cordova platform rm windows && cordova platform add windows
> cordova run windows
> {noformat}
> It fails with build error:
> {noformat}
> 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" decla
> red for element "m:Applications/m:Application" doesn't exist in the package. 
> [C:\Cordova\foo\platforms\windows\Cordova
> App.Windows.jsproj]
> 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
> va\foo\platforms\windows\CordovaApp.Windows.jsproj]
> 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
> {noformat}
> The issue doesn't reproduce on [email protected]



--
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