[
https://issues.apache.org/jira/browse/CB-9601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734684#comment-14734684
]
Sergey Grebnov commented on CB-9601:
------------------------------------
The issue is caused by Windows10 platform version which is four digits so it is
not semver compliant (see http://semver.org/) - must be three-digits. Looks
like four digits version comparison worked somehow before but does not work
anymore in the latest version of semver library.
> Fix <framework>.versions support on Windows after semver update
> ---------------------------------------------------------------
>
> Key: CB-9601
> URL: https://issues.apache.org/jira/browse/CB-9601
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib, Plugman, Windows
> Reporter: Sergey Grebnov
> Assignee: Sergey Grebnov
> Labels: cordova-lib, plugman, windows
>
> After semver dependency update in [email protected]
> (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)
> {code}
> <framework src="windows81/bin/TestWinmd.winmd" versions=">=8.1" />
> {code}
> 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
> {code}
> <framework src="windows81/bin/TestWinmd.winmd" versions=">=8.1" />
> {code}
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]