Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            DefaultAssemblyProvider provider = new DefaultAssemblyProvider();
            var assemblies = provider.GetAssemblies(@"C:\0\1MyProgram\0DesertFish\Lily.Framework\samples\Modularization\CoreConsole\Samples.Modularization.CoreConsoleHost\bin\Debug\Plugins", true);

            Console.ReadLine();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            var assemble          = Assembly.GetEntryAssembly();
            var dependencyContext = DependencyContext.Load(assemble);
            var aaa = dependencyContext.CompileLibraries;
            DefaultAssemblyProvider provider = new DefaultAssemblyProvider();
            var assemblies = provider.GetAssemblies(@"C:\0\1MyProgram\0DesertFish\Lily.Framework\samples\Modularization\NetConsole\Samples.Modularization.NetConsoleHost\bin\Debug\Plugins", true);

            Console.ReadLine();
        }