fbpx

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:
http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c
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:
http://docs.nuget.org/docs/start-here/using-the-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:

http://www.codeproject.com/Articles/488207/ZeroMQ-via-Csharp-Introduction
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!

Subscribe For Latest Updates

Sign up to best of business news, informed analysis and opinions on what matters to you.
Invalid email address
We promise not to spam you. You can unsubscribe at any time.

NOTE!

Check NEW site on stock forex and ETF analysis and automation

Scroll to Top