using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace DotLoader { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { Environment.CurrentDirectory = @"Z:\dandanplay_11_5_2\dandanplay_11_5_2-x86"; var mainAssembly = Assembly.LoadFile(@"Z:\dandanplay_11_5_2\dandanplay_11_5_2-x86\dandanplay.exe"); var ep = mainAssembly.EntryPoint; ep.Invoke(null,null); } } }