Assembly game = Assembly.Load(File.ReadAllBytes(Path.Combine(AssemblyFolder, "target.exe")));
-> get two target assembly assembly (one patched, one not)
Assembly game = Assembly.LoadFile(Path.Combine(AssemblyFolder, "target.exe"));
-> all ok, have one patched assembly
How avoid this, i use runtime prepatch with Cecil and loading modified assembly from memory ...
Assembly game = Assembly.Load(File.ReadAllBytes(Path.Combine(AssemblyFolder, "target.exe"))); -> get two target assembly assembly (one patched, one not)
Assembly game = Assembly.LoadFile(Path.Combine(AssemblyFolder, "target.exe")); -> all ok, have one patched assembly
How avoid this, i use runtime prepatch with Cecil and loading modified assembly from memory ...
double.zip