c#:配置引用程序集的路径(分离exe和dll)和 如何处理[dllImport]中的程序集的加载 [笔记]

.Net c#:配置引用程序集的路径(分离exe和dll):

https://blog.csdn.net/prince_lintb/article/details/40789237

如何控制C#引用DLL的位置:

https://blog.csdn.net/skysword2/article/details/52604770

<runtime>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<publisherPolicy apply="yes"/>

<probing privatePath="Common;Security"/>

</assemblyBinding>

</runtime>

[DllImport(@"Commondlldemo.dll")]

C#引用DLL的问题 

如何加载位于文件夹不是应用程序的 bin 文件夹中的运行时程序集

原文地址:https://www.cnblogs.com/bycnboy/p/8962234.html