如何加载引用的程序集,尤其是通过Nuget引用的程序集

时间:2019-05-24 09:45:25

标签: c# asp.net-core .net-core .net-assembly nuget-package

如果我查询AppDomain.CurrentDomain.GetAssemblies或EntryAssembly.GetReferencedAssembly,则通过Nuget引用但尚未使用的dll不可用。如何加载dll。我想从中注册一些类型,并且不使用任何编译时解决方案,而是运行时。

0 个答案:

没有答案
相关问题