@@ -1,4 +1,5 @@
using System;
+using System.IO;
using System.Linq;
using System.Reflection;
@@ -18,6 +19,9 @@ namespace BepInEx.Preloader
Paths.SetExecutablePath(args[0]);
AppDomain.CurrentDomain.AssemblyResolve += LocalResolve;
+ foreach (var dll in Directory.GetFiles(Paths.BepInExAssemblyDirectory))
+ Assembly.Load(dll);
+
Preloader.Run();
}