I'm using an external DLL to handle PDF exports in a C# project. I've added the external DLL reference in Visual Studio, added appropriate using statements, Intellisense shows all sorts of methods and properties when I type out the namespace, and the same is reflected in the object explorer.
However, when I run the application, the program throws a run-time exception because my external DLL can't find another DLL that lives in the same directory as the external DLL.
To make matters more confusing, the program doesn't complain if I just copy every single DLL from the directory of the one I want to reference into the Debug folder of my program, but obviously I shouldn't have to do this.
Thanks in advance.