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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to