Import C# library into Project

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jobonso

I’m new to Godot and have done some digging but haven’t found a clear answer. I would like to include netMQ (a socket communication library written purely in C#) but haven’t found any documentation on how to include external C# code. Any pointers would be greatly appreciated, thanks!

:bust_in_silhouette: Reply From: honeycoffee

If it’s available on Nuget you can add it via the command line. Just go to your project folder, copy the command from Nuget, and execute

:bust_in_silhouette: Reply From: betauer

Just add this to you .csproj file:

    <PackageReference Include="NetMQ" Version="" />

You can get this line from nuget: NuGet Gallery | NetMQ just click on the PackageReference tab