I downloaded NetMQ Package from Nuget website and copy pasted NetMQ.dll to assets/Plugins. But I get the following four errors when the DLL file is imported:
Error: Could not load signature of NetMQ.GroupSocketExtensions:SendAsync due to: Could not load file or assembly ‘System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. assembly:System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 type: member: (null) signature:
Assembly ‘Assets/Plugins/NetMQ.dll’ will not be loaded due to errors:
Unable to resolve reference ‘System.Memory’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference ‘System.Threading.Tasks.Extensions’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference ‘AsyncIO’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference ‘NaCl’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Assembly ‘Library/ScriptAssemblies/Assembly-CSharp.dll’ will not be loaded due to errors:
Reference has errors ‘NetMQ’.
and the last error is the same as the second one.
I have tried the dll for different configurations (netstandard2.0 net45 etc.) but same errors. I have tried re-installing visual studio but no help. I have tried with Unity 2020.1.17f1 and 2019.1.17f1. NetMQ version is 4.0.1.6. I have also tried installing it through NugetForUnity but it’s the same.