代码之家  ›  专栏  ›  技术社区  ›  George Mauer

如何扫描目录中的程序集并加载它们?

  •  0
  • George Mauer  · 技术社区  · 16 年前

    我想扫描目录中尚未在项目中引用的任何程序集,然后加载实现IMyInterface的类的所有实例。

    Assembly.LoadFile

    1 回复  |  直到 16 年前
        1
  •  1
  •   John Saunders    16 年前

    您可以使用 AppDomain.GetAssemblies