Explorar o código

Revert "Load all core assemblies in the entrypoint"

0Harmony.dll is causing issues with references

This reverts commit 8cf63db5a2718e1d321916998674e2f74458eafa.
Bepis %!s(int64=5) %!d(string=hai) anos
pai
achega
669fc65d4c
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      BepInEx.Preloader/Entrypoint.cs

+ 0 - 4
BepInEx.Preloader/Entrypoint.cs

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