user1599647
user1599647

Reputation: 487

Using ZeroMQ In c#

I am trying out ZeroMQ to see if it can be used for my application. However, I have problem getting it to work.

OS: Windows 10 Programming Language: C# SDK: VS 2015 Enterprise

From what I read in order to use it in c#, I will need clrmq (which contains clr namspace for .NET) and zmq.

I gotten the "ZeroMQ.Release.zip" from "https://github.com/zeromq/clrzmq4/releases" and within it, it contains libzmq.dll, libsodium.dll (both from i386 folder in bin) and ZeroMQ.dll (from bin).

When I try to add references (of the mentioned 3 dlls) to my testing project, I got an error stating "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."

In the end, I only manage to bring in ZeroMQ.dll.

Any help would be appreciated to help me start using zeroMQ in my testing.

Thanks.

Upvotes: 2

Views: 4353

Answers (2)

user2877969
user2877969

Reputation: 149

Try to use Package Manage Console from Tools in VS. Install clrzmq and zeromq it'll solve all problem. In offline mode download the packages and install them.

Upvotes: 0

Nikita
Nikita

Reputation: 6427

Try to use NuGet package ZeroMQ. It will add required references properly.

Upvotes: 3

Related Questions