Exemplo n.º 1
0
        public override void Run()
        {
            string           file       = ReflectionUtils.GetProcessPath();
            StringCollection assemblies = new StringCollection();

            ReflectionUtils.BuildDependentAssemblyList(file, assemblies);
            Console.WriteLine($"Assembly {file} has a dependency tree of these assemblies:{ Environment.NewLine} ");
            foreach (string name in assemblies)
            {
                Console.WriteLine($"\t{name}{Environment.NewLine}");
            }

            Console.ReadKey();
        }