Github user biasmv commented on the pull request:
https://github.com/apache/cordova-windows/pull/139#issuecomment-174159467
Yeah, that was confusing to me as well. My plugin uses an unmanaged native
dll that I'm referencing from C# code. As described in the links below, it's
not possible to reference these unmanaged dlls from the VS project the same way
that COM libs or managed libraries can be referenced. Instead one must manually
copy the files to the output directory. That's exactly what resource-file is
here for, so it would fit my use-case perfectly.
http://http://stackoverflow.com/questions/5107694/
https://social.msdn.microsoft.com/Forums/en-US/f7824f2d-0d4b-4bf0-8341-fd0799e6ab1c/whats-the-best-way-to-add-unmanaged-dlls-to-a-project?forum=csharpide
Best,
Marco
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]