diff --git a/Content.Packaging/ServerPackaging.cs b/Content.Packaging/ServerPackaging.cs index 93279e27f9..94b8f7ce92 100644 --- a/Content.Packaging/ServerPackaging.cs +++ b/Content.Packaging/ServerPackaging.cs @@ -235,15 +235,13 @@ public static class ServerPackaging var depsContentExclusive = depsContent.Except(depsRobust).ToHashSet(); // Remove .dll suffix and apply filtering. - var names = depsContentExclusive.Select(p => p[..^4]).Where(p => !ServerNotExtraAssemblies.Any(p.StartsWith)); + var names = depsContentExclusive.Select(p => p[..^4]).Where(p => !ServerNotExtraAssemblies.Any(p.StartsWith)).ToList(); // Corvax-Secrets-Start - names.Append("Content.Corvax.Interfaces.Shared"); - names.Append("Content.Corvax.Interfaces.Server"); if (UseSecrets) { - names.Append("Content.Corvax.Shared"); - names.Append("Content.Corvax.Server"); + names.Add("Content.Corvax.Shared"); + names.Add("Content.Corvax.Server"); } // Corvax-Secrets-End