Search code examples
c#macossocket.iomonodevelopnuget-package

How to Install socket.io for .NET in MonoDevelop


I was wondering a library for socket.io in C#/.NET

I found one in : https://socketio4net.codeplex.com/

I am using MonoDevelop for Unity3D Mac OS X. In the above link I followed their instruction, I installed NuGET in Monodevelop too. But I can't install the socket.io for .NET using NuGET.

Can I actually do it using MonoDevelop in Mac? or I have to use different IDE or OS ?


Solution

  • MonoDevelop for Unity 3D does not include a Package Console Manager out of the box. You can use the Manage Packages dialog instead.

    The Manage Packages Dialog can be opened from the Projects menu by selecting Manage NuGet Packages. It can also be opened by selecting the Solution window, right clicking either the solution, the project or the project's references and selecting Manage NuGet Packages.

    I see an Unable to resolve dependency 'newtonsoft.json (>= 4.0.8). This is a NuGet case sensitivity problem. You can workaround this by installing Newtonsoft.Json before you install the SocketIO4Net.Client NuGet client.