参考资料:关于.net加载子目录中动态库的方法
下面的示例说明如何指定运行库应在其中搜索程序集的应用程序基子目录。
<configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="bin;bin2\subbin;bin3"/> </assemblyBinding> </runtime> </configuration>