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:45:19 UTC
[GitHub] [cordova-windows] dominic-simplan opened a new issue #337:
config-file removed from config.xml are not removed from appxmanifest
dominic-simplan opened a new issue #337: config-file removed from config.xml are not removed from appxmanifest
URL: https://github.com/apache/cordova-windows/issues/337
# Bug Report
## Problem
### What is expected to happen?
Removing a `<config-file>` element from the config.xml should be reflected in the AppxManifest.xml / package.*.appxmanifest file after running the build command.
### What does actually happen?
Having for example this configuration in the main config.xml:
```
<platform name="windows">
<config-file parent="/Package/Capabilities" target="package.appxmanifest">
<Capability Name="allJoyn" />
</config-file>
</platform>
```
And then removing this <config-file> element and building the application with `cordova build windows -- --archs="x64"` will:
* Update the platforms\windows\config.xml correctly
* **Not remove** the according element from the platforms\windows\windows.json file
* **Not remove** the according Capability element from the package.*.appxmanifest files
## 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
Might be related to #336.
Not sure if this is a bug or if I am expected to readd the platform after making changes to the config.xml file... in case of the latter, feel free to close these two issues...
## 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