[
https://issues.apache.org/jira/browse/CB-7441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257439#comment-14257439
]
ASF GitHub Bot commented on CB-7441:
------------------------------------
Github user developernotes commented on the pull request:
https://github.com/apache/cordova-lib/pull/82#issuecomment-67992415
Hi @sgrebnov
In my case I need to create two additional `ItemGroup` elements within the
`.csproj` file. The first being a `ProjectReference` to a Managed C++ project,
the second being a `SDKReference` to a native library we ship that is packaged
already as a VSIX. I've temporarily worked around this by automating this
process with a Windows Powershell script, however it would be nice if I could
perform these operations as defined within the plugin.xml file.
> Plugman. .jsproj files should be treated as xml if used with <config-file>
> --------------------------------------------------------------------------
>
> Key: CB-7441
> URL: https://issues.apache.org/jira/browse/CB-7441
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib, Plugman
> Reporter: Sergey Grebnov
> Assignee: Sergey Grebnov
> Labels: cordova-lib, plugman, windows
>
> Create plugin with the following section
> {code}
> <platform name="windows">
> <config-file target="CordovaApp.Phone.jsproj" parent="/*">
> <ItemGroup>
> <SDKReference Include="Microsoft.VCLibs, version=12.0" />
> </ItemGroup>
> <ItemGroup>
> <SDKReference Include="SQLite.WinRT, Version=3.8.2" />
> </ItemGroup>
> </config-file>
> ...
> </platform>
> {code}
> Run 'cordova plugin add plugin_location'
> The following error is occurred:
> {code}
> Processing configuration changes for plugins.
> Failed to install 'com.msopentech.websql':Error: malformed document. First
> element should be <plist>
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]