[ https://issues.apache.org/jira/browse/CB-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495034#comment-14495034 ]
Sergey Grebnov commented on CB-8856: ------------------------------------ When I set widged.id (config.xml) to my production package identity (for example '32437wifrx.com.OctoPlayer') and do build, the following error is occurred: {code} λ cordova build windows --win --release Running command: C:\temp\testApp\platforms\windows\cordova\build.bat --release Applying Platform Config... MSBuildToolsPath: C:\Program Files (x86)\MSBuild\14.0\bin\amd64\ Building project: C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj Configuration : release Platform : anycpu C:\temp\testApp\platforms\windows\build\windows80\release\anycpu\AppxManifest.xml(24,18): error APPX1404: File content does not conform to specified schema. The 'Id' attribute is invalid - The value '32437wifrx.com.OctoPlayer' is invalid according to its datatype 'http://schemas.microsoft.com/appx/2010/manifest:S T_ApplicationId' - The Pattern constraint failed. [C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj] ERROR: Error code 1 for command: C:\Program Files (x86)\MSBuild\14.0\bin\amd64\msbuild with args: C:\temp\testApp\platforms\windows\CordovaApp.Windows80.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:Platform=anycpu,/p:BuildFromCordovaTooling=true ERROR building one of the platforms: Error: C:\temp\testApp\platforms\windows\cordova\build.bat: Command failed with exit code 2 You may not have the required environment or OS to build this project Error: C:\temp\testApp\platforms\windows\cordova\build.bat: Command failed with exit code 2 at ChildProcess.whenDone (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23) at ChildProcess.emit (events.js:98:17) at maybeClose (child_process.js:756:16) at Process.ChildProcess._handle.onexit (child_process.js:823:5) {code} >From what I see this happens due to we replace both Identity/Name (which is >correct) and also Application/Id (which is not required at all and causes this >issue) in .appxmanifest: Identity/Name defines a globally unique identifier for a package. This is what we should change according to widget/id https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx Application/id is just the unique identifier of the application within the package. Which should be a constant since we don't support multiple applications per package. For example, default Window template uses 'App' string as Application/Id. https://msdn.microsoft.com/en-us/library/windows/desktop/br211415.aspx If I don't change Application/Id during build everything works correct. > Fix support of Windows Store submission builds > ---------------------------------------------- > > Key: CB-8856 > URL: https://issues.apache.org/jira/browse/CB-8856 > Project: Apache Cordova > Issue Type: Bug > Components: Windows > Reporter: Sergey Grebnov > Assignee: Sergey Grebnov > Labels: Release, Store, Windows > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org