在 C# 中使用 ZeroMQ
Using ZeroMQ In c#
我正在试用 ZeroMQ,看看它是否可以用于我的应用程序。但是,我无法正常工作。
OS: Windows 10
编程语言:C#
SDK:VS 2015 企业版
根据我阅读的内容,为了在 C# 中使用它,我将需要 clrmq(其中包含用于 .NET 的 clr namspace)和 zmq。
我从“https://github.com/zeromq/clrzmq4/releases”得到了 "ZeroMQ.Release.zip",其中包含 libzmq.dll、libsodium.dll(均来自 bin 中的 i386 文件夹)和 ZeroMQ.dll(来自 bin)。
当我尝试将(上述 3 个 dll 的)引用添加到我的测试项目时,我收到一条错误消息
"libsodium.dll and libzmq.dll icould not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."
最后只带进来了ZeroMQ.dll。
如果能帮助我开始在我的测试中使用 zeroMQ,我们将不胜感激。
谢谢。
尝试使用 NuGet 包 ZeroMQ。它将正确添加所需的引用。
尝试使用 VS 中工具中的包管理控制台。安装 clrzmq 和 zeromq 它会解决所有问题。在离线模式下下载包并安装它们。
我正在试用 ZeroMQ,看看它是否可以用于我的应用程序。但是,我无法正常工作。
OS: Windows 10 编程语言:C# SDK:VS 2015 企业版
根据我阅读的内容,为了在 C# 中使用它,我将需要 clrmq(其中包含用于 .NET 的 clr namspace)和 zmq。
我从“https://github.com/zeromq/clrzmq4/releases”得到了 "ZeroMQ.Release.zip",其中包含 libzmq.dll、libsodium.dll(均来自 bin 中的 i386 文件夹)和 ZeroMQ.dll(来自 bin)。
当我尝试将(上述 3 个 dll 的)引用添加到我的测试项目时,我收到一条错误消息 "libsodium.dll and libzmq.dll icould not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."
最后只带进来了ZeroMQ.dll。
如果能帮助我开始在我的测试中使用 zeroMQ,我们将不胜感激。
谢谢。
尝试使用 NuGet 包 ZeroMQ。它将正确添加所需的引用。
尝试使用 VS 中工具中的包管理控制台。安装 clrzmq 和 zeromq 它会解决所有问题。在离线模式下下载包并安装它们。