I have a C# project, a class library, wich is a module for another project, and it's output path is in a subfolder within the main-projects output path (i.e. outputpath = C:\WHATEVER\MainProject\Modules.
In this Project, i reference a library (let's call it a.dll). this in itself works fine, but this a.dll needs other libraries at runtime to work (let's call them b.dll and c.dll). I added these two files via Add -> Existing Item, and set "Copy to Output Directory" to "Copy always" for b.dll and c.dll.
When i build the project, all three dlls are copied over into the output-path of the project (as expected), but a.dll can't seem to find them. As soon as i copy b.dll and c.dll into the main-projects folder (where the .exe is) a.dll can suddenly find them.
I don't want to have b.dll and c.dll in the main-projects folder, because they are only part of the module i'm currently developing, and not the main-project itself. How (in Visual Studio 2015) do i tell a.dll where to look for b.dll and c.dll? I tried adding the probing-part in the appconfig (as suggested here: Reference a DLL from another DLL), but that had no effect. I do not have the sourcecode for a.dll.