.NET Download assembly from <probing privatePath ...> attr to .config file
I have an application that loads most of its DLL from a subfolder specified in the configuration file (myapp.exe.config) in the attribute
<probing privatePath="subdir"/>
My question is: can I load dll (say mydll.dll) at runtime using only its file name if it lives in the same subdir specified in the research path?
I tried Assembly.LoadFile("mydll.dll"), but it will not search in "subdir".
+3
2 answers