I'm trying to use an external library with my code. I have added it as a reference from within Visual Studio and things like auto-complete works fine, I can see all the available methods while typing code. It also compiles without any warning or errors.
The DLL is within the same directory as the executable.
However, I get this error:
"Unhandled Exception: System.TypeInitializationException: The type initializer fo
r '<Module>' threw an exception. ---> System.DllNotFoundException: Unable to loa
d DLL 'yeppp': The specified module could not be found. (Exception from HRESULT:
 0x8007007E)
   at Yeppp.Library.yepLibrary_Init()
   at Yeppp.Library.Init()
   at .cctor()
   --- End of inner exception stack trace ---"
What am I doing wrong?
 
    