Merge pull request #601 from daemitus/dumbdumbs

Include the Dalamud assembly as a shared assembly
This commit is contained in:
goaaats 2021-09-28 13:39:40 +02:00 committed by GitHub
commit 3b1cbec6ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
using System; using System;
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using System.Numerics; using System.Numerics;
using Dalamud.Interface; using Dalamud.Interface;
using Dalamud.Interface.Colors; using Dalamud.Interface.Colors;
using Dalamud.Interface.Windowing; using Dalamud.Interface.Windowing;

View file

@ -436,6 +436,7 @@ namespace Dalamud.Plugin.Internal
config.IsUnloadable = true; config.IsUnloadable = true;
config.LoadInMemory = true; config.LoadInMemory = true;
config.PreferSharedTypes = false; config.PreferSharedTypes = false;
config.SharedAssemblies.Add(typeof(IDalamudPlugin).Assembly.GetName());
config.SharedAssemblies.Add(typeof(Lumina.GameData).Assembly.GetName()); config.SharedAssemblies.Add(typeof(Lumina.GameData).Assembly.GetName());
config.SharedAssemblies.Add(typeof(Lumina.Excel.ExcelSheetImpl).Assembly.GetName()); config.SharedAssemblies.Add(typeof(Lumina.Excel.ExcelSheetImpl).Assembly.GetName());
} }