How to install ZeroMQ with C# and .NET binding and example on Microsoft Visual Studio 2012 or 2010

(Last Updated On: January 28, 2013)

How to install ZeroMQ with C# and .NET  binding and example on Microsoft Visual Studio 2012 or 2010

See towards the end which seems to be a decent tutorial from CodeProject.com

Download Zero MQ from: http://www.zeromq.org/distro:microsoft-windows
C# bindings: http://www.zeromq.org/bindings:clr or https://github.com/zeromq/clrzmq
You could also install the C# bindings (clrzmq) with NuGet:
Just download and optn the VSIX file with your Visual Studio.
Install clrmzq 3 with: http://packages.nuget.org/Packages/clrzmq
Use the NuGet package manager console:
This process could fail dueif in Visual Studio 2012:
Install-Package : Could not install package ‘clrzmq 3.0.0-rc1’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v3.5’, b
ut the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.
At line:1 char:16
+ Install-Package <<<< clrzmq -Pre
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
For Visual Studio 2010, do the above but ensure to have a project solution open (i.e. Your ZeroMQ solution)
Install-Package : The current environment doesn’t have a solution open.
At line:1 char:16
+ Install-Package <<<< clrzmq -Pre
+ CategoryInfo : InvalidOperation: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PowerShell.Commands.InstallPackageCommand


Try out C# ZeroMQ examples here: https://github.com/imatix/zguide

Working tutorial with examples:

The CodeProject seems to work ok on Visual Studio 2010 but is somewhat using outdated ZeroMQ DLLs.

See how I plan to use this for my HFT platform

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
share this recipe:

Still hungry? Here’s more

Automated Bots: Your Key to Stock Trading Success

Automated bots are rapidly gaining ground in the stock market, and if you’re still trading manually, the box will outrun you. Yes, you heard it right! These powerful bots are set to become the new norm, and those who embrace them will have a significant advantage over those who don’t.

Read More

Are you interested in: