我想扫描目录中尚未在项目中引用的任何程序集,然后加载实现IMyInterface的类的所有实例。
Assembly.LoadFile
您可以使用 AppDomain.GetAssemblies
AppDomain.GetAssemblies