I have a WPF application that has 3 projects in the solution. I have the main menu, which is the actual EXE, a reporting DLL and the application files DLL which both are a WPF Class Library. I’m getting the System.IO error when I’m trying to use a 3rd party reporting tool from in the application files DLL. I have the 3rd party DLLs referenced and are set to copy local in my application DLL. Everything works fine if i reference the 3rd party reporting tool in the EXE project but I don’t want to do that. I want my DLL to be stand alone so someone else can reference my DLL without having to add anything but my DLL. Anyone have any idea of what i might need to do to fix this? Thanks
Share
Go to your output directory and walk though all your DLL’s using http://www.dependencywalker.com. Find the missing dll, use the exception to give you a good starting position.
I don’t believe what you want to do is possible though. If your DLL has dependencies on other DLL’s, then your DLL needs access the other DLL’s. You can’t simply build the other DLL’s into your DLL.