简体   繁体   English

如何在NuGet包中使用其他文件?

[英]How to use additional files in NuGet package?

I'm using clrzmq library via NuGet . 我正在通过NuGet使用clrzmq库。 It has additional file residing inside package: 它在包装内包含其他文件:

content/libzmq.dll

I need to distribute it with my installer(wix), so I need to get that file from somewhere. 我需要使用安装程序(wix)分发它,因此我需要从某个地方获取该文件。 If I add that dll file to the project using it, then every time new version of clrzmq arrives the path is changed and I need to fix it. 如果我将dll文件添加到使用它的项目中,则每次新版本的clrzmq到达时,路径都会更改,我需要对其进行修复。

What is the proper way to copy that file to my project(or use it directly in wix)? 将文件复制到我的项目中(或直接在wix中直接使用)的正确方法是什么?

clrzmq NuGet软件包的最后一个稳定版本是2012年7月,自2012年11月以来没有预发行软件包。由于它没有定期更新,因此我将简单起见,并继续引用其他dll,因为您已经在这样做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM