From ae4d7bb34cee7358da9128928d180e24528fa8e0 Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Wed, 4 Sep 2024 11:46:18 -0400 Subject: [PATCH] Actually write the cache version in SaveAssemblyCache --- BepInEx.Core/Bootstrap/TypeLoader.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BepInEx.Core/Bootstrap/TypeLoader.cs b/BepInEx.Core/Bootstrap/TypeLoader.cs index eab5723..ed428b8 100644 --- a/BepInEx.Core/Bootstrap/TypeLoader.cs +++ b/BepInEx.Core/Bootstrap/TypeLoader.cs @@ -366,6 +366,7 @@ public static class TypeLoader var path = Path.Combine(Paths.CachePath, $"{cacheName}_typeloader.dat"); using var bw = new BinaryWriter(File.OpenWrite(path)); + bw.Write(CachedAssembly.Version); bw.Write(entries.Count); foreach (var kv in entries)