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

Fix <framework>.versions support on Windows after semver update

    XMLWordPrintableJSON

    Details

      Description

      After semver dependency update in LIB@5.2.0 (https://github.com/apache/cordova-lib/commit/bed6d3a201e0193b2ffdb60fa6de74de0c870cec)

      the following version attribute is handled incorrectly and dependency is not installed to Windows10 project (CordovaApp.Windows10.jsproj)

      <framework src="windows81/bin/TestWinmd.winmd" versions="&gt;=8.1" />
      

      This works correct if I install Cordova 5.1.1 or manually change semver version back to 2.1.0

      Repro step:
      1. Add windows platform to cordova app
      2. Add plugin containt the following element

      <framework src="windows81/bin/TestWinmd.winmd" versions="&gt;=8.1" />
      

      3. Expected: TestWinmd.winmd is added to CordovaApp.Windows10.jsproj (and also to CordovaApp.Phone.jsproj, CordovaApp.Windows.jsproj)
      4. Actual: TestWinmd.winmd is added only to CordovaApp.Phone.jsproj, CordovaApp.Windows.jsproj

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sgrebnov Sergey Grebnov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: