Closed deltaone closed 1 year ago
Harmony does not load any assemblies. This must be an oversight on your side.
Look in code ...
/// !!! HERE !!!
Assembly game = Assembly.Load(File.ReadAllBytes(Path.Combine(AssemblyFolder, "target.exe")));
//Assembly game = Assembly.LoadFile(Path.Combine(AssemblyFolder, "target.exe"));
How is this related to Harmony. The code you posted is not part of Harmony. Please use the official discord for support questions and leave GitHub Issues for bugs in the library.
How to patch assembly loaded from memory ? As workaround - i rename assembly on disk and apply path, then patch apply on assembly loaded from memory ...
THX!