I am trying to use the NAudio.Lame library in an MVC4 application and am getting the error:
Unable to load DLL \'libmp3lame.32.dll\': The specified module co
I made it work by having the LameDLLWrap assembly as a separate one, rather than embedding it in the main assembly. Since I know that my target system is 32 bit, I can afford having a single assembly -- this is simpler for me than playing with PATH on the hoster's machine.
Here's what I did: