You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "James Dubee (JIRA)" <ji...@apache.org> on 2016/02/12 20:38:18 UTC

[jira] [Created] (CB-10604) resource-file tag in plugin.xml for cordova-windows generates incorrect link

James Dubee created CB-10604:
--------------------------------

             Summary: resource-file tag in plugin.xml for cordova-windows generates incorrect link
                 Key: CB-10604
                 URL: https://issues.apache.org/jira/browse/CB-10604
             Project: Apache Cordova
          Issue Type: Bug
          Components: Windows
            Reporter: James Dubee


When using the resource-file tag in plugin.xml for cordova-windows, the link tag generated in the .jsproj has the wrong value.

plugin.xml example:
        <resource-file src="src/windows/buildtarget/ARM/msvcr110.dll" device-target="win"  target="plugins/cordova-plugin-mfp-jsonstore/win/ARM/msvcr110.dll" custom="true" arch="ARM" />

.jsproj file content:

<ItemGroup>
        <Content Condition="'$(Platform)'=='ARM'" Include="plugins/cordova-plugin-mfp-jsonstore/win/ARM/sqlite3.dll">
            <Link>plugins/cordova-plugin-mfp-jsonstore/win/ARM/sqlite3.dll</Link>
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </Content>
    </ItemGroup> 

Wanted .jsproj content:
<ItemGroup>
        <Content Condition="'$(Platform)'=='ARM'" Include="plugins/cordova-plugin-mfp-jsonstore/win/ARM/sqlite3.dll">
            <Link>sqlite3.dll</Link>
            <CopyToOutputDirectory>Always</CopyToOutputDirectory>
        </Content>
    </ItemGroup> 





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

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