Actually write the cache version in SaveAssemblyCache

This commit is contained in:
aldelaro5 committed 2024-09-04 11:46:18 -04:00
1 parent d389ed8067
commit ae4d7bb34c
1 file changed
+1
+1
View File
@@ -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<T>.Version);
bw.Write(entries.Count);
foreach (var kv in entries)