.net - Unable to load DLL The specified module could not be found -


when using [dllimport("my.cool.library")] .net error similar following:

"unable load dll... specified module not found..."

...even though required dlls in place , accessible!?

turns out dllimport assumes ".dll" extension if not have periods in name. if dllimport("my.cool.library.dll") used, work, otherwise dll have renamed "my_cool_library.dll", , dllimport("my_cool_library") work. ;)


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -