mhowlett / NNanomsg

.NET binding for nanomsg
MIT License
179 stars 52 forks source link

Unhandled exception of type when creating publisher #32

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi,

I'm getting a failure when trying to create a publisher. The error is;

An unhandled exception of type 'System.TypeInitializationException' occurred in NNanomsg.dll

Upon further analysis i noticed this;

LoadLibrary failed: bin\Debug\Nanomsg.dll

I guessed it was a problem loading nanomsg.dll so I rebuilt nanomsg (v1.0.0) from source (x64 DLL) using Visual Studio 2015 to match the same environment i'm using to build NNanomsg but still same error.

Any help appreciated.