You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/05/16 12:37:25 UTC

[GitHub] [cordova-windows] dominic-simplan opened a new issue #336: Build command needs to be run twice to apply config.xml changes to appxmanifest

dominic-simplan opened a new issue #336: Build command needs to be run twice to apply config.xml changes to appxmanifest
URL: https://github.com/apache/cordova-windows/issues/336
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   Changes to the config.xml should be reflected in the AppxManifest.xml / package.*.appxmanifest file after running the build command.
   
   ### What does actually happen?
   Adding for example this configuration to the main config.xml:
   ```
   <platform name="windows">
           <config-file parent="/Package/Capabilities" target="package.appxmanifest">
               <Capability Name="allJoyn" />
           </config-file>
       </platform>
   ```
   
   And then building the application with `cordova build windows -- --archs="x64"` will:
   * Update the platforms\windows\config.xml correctly
   * Add the according element to the platforms\windows\windows.json file
   * Will **not update** the package.*.appxmanifest files
   
   Running the `cordova build windows -- --archs="x64"` command a second time,
   * Will finally update the package.*.appxmanifest file
   
   The build command needs to be run two times before the value is actually applied to the appxmanifest file.
   
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Windows 10
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova 8.1.2
   Cordova-windows 6.0.1 and 7.0.0
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org