I have an C#-application, that uses another C# DLL.
If I use the exe file it works, when the DLL-File is in the same directory as the exe-File. But know I would create a folder and put the dll-File in it.
In the MSDN Help found something that should work but i doesn´t why?
How can I load the DLL out of the subfolder ?
You need to add the folder you want to load the dll from to your config file :
Or you can do it through code using :
more about the probing path in msdn