Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10273

(Windows) .winmd files with the same names and same target attribute but different architecture are not added properly with framework tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • cordova-plugman
    • Windows

    Description

      When winmd files referenced by the framework tag in plugin.xml have the same name and the same target but different architecture, the last one overwrites the others and is the only one present in platform directory on plugin install.

      plugin.xml
      <platform name="windows">
          ...
          <framework src="src/windows/buildtarget/x86/WLWin8Native.winmd" device-target="win" custom="true" arch="x86" />
      
              <framework src="src/windows/buildtarget/x64/WLWin8Native.winmd" device-target="win" custom="true" arch="x64" />
      
              <framework src="src/windows/buildtarget/ARM/WLWin8Native.winmd" device-target="win" custom="true" arch="ARM" />
      
              <framework src="src/windows/buildtarget/wp/x86/WLWin8Native.winmd" device-target="phone" custom="true" arch="x86" />
      
              <framework src="src/windows/buildtarget/wp/ARM/WLWin8Native.winmd" device-target="phone" custom="true" arch="ARM" />
      </platform>
      

      In the case above, when installing the plugin, only the third and fifth winmd files are present in the platform directory

      Attachments

        Activity

          People

            Unassigned Unassigned
            eymorale Edna Morales
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: