[ 
https://issues.apache.org/jira/browse/CB-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Sorokin updated CB-8615:
----------------------------------
    Description: 
When winmd files referenced by framework tag in plugin.xml have same names, 
only last one of them will be present in platform directory on plugin install.

For example,
{code:title=plugin.xml}
<platform name="windows">
    ...
    <framework 
src="src/windows/lib/wpa/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd" 
target="phone" custom="true"/>
    <framework 
src="src/windows/lib/netcore45/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd"
 target="windows" custom="true"/>
</platform>
{code}

When we install this plugin for windows platform, only the second winmd file is 
present in `platforms\windows\plugins\some.plugin.id` directory (apparently, 
the first lib is being replaced by the second one).

  was:
When winmd files referenced by framework tag in plugin.xml have same names, 
only last one of them will be present in platform directory on plugin install.

For example,
{code:title=plugin.xml}
<platform name="windows">
    ...
    <framework 
src="src/windows/lib/wpa/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd" 
target="phone" custom="true"/>
    <framework 
src="src/windows/lib/netcore45/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd"
 target="windows" custom="true"/>
</platform>
{code}

When we install this plugin for windows platform, only the second winmd file is 
present in `platforms\windows\plugins\some.plugin.id` directory (apparently, 
the first lib is being replaced by the second one).

JIRA item for this feature: [CB-8123]


> (Windows) .winmd files with the same names are not added properly when using 
> framework tag with target attribute
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-8615
>                 URL: https://issues.apache.org/jira/browse/CB-8615
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugins, Windows
>            Reporter: Alexander Sorokin
>
> When winmd files referenced by framework tag in plugin.xml have same names, 
> only last one of them will be present in platform directory on plugin install.
> For example,
> {code:title=plugin.xml}
> <platform name="windows">
>     ...
>     <framework 
> src="src/windows/lib/wpa/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd"
>  target="phone" custom="true"/>
>     <framework 
> src="src/windows/lib/netcore45/Microsoft.IdentityModel.Clients.ActiveDirectory.winmd"
>  target="windows" custom="true"/>
> </platform>
> {code}
> When we install this plugin for windows platform, only the second winmd file 
> is present in `platforms\windows\plugins\some.plugin.id` directory 
> (apparently, the first lib is being replaced by the second one).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to