You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the way binaries are now built, which is a self-contained, trimmed binary the server fails to properly run due to aforementioned trimming
~/MCGalaxy/$ ./MCGalaxyCLI_dotnet8
Failed to set working directory to '', running in current directory..
(18:32:09) Starting Server
!!!Error (Cannot dynamically create an instance of type 'MCGalaxy.Commands.Moderation.CmdSetRank'. Reason: No parameterless constructor defined.) - See logs/errors/2024-03-31error.log for more details.
The text was updated successfully, but these errors were encountered:
forkiesassds
changed the title
.NET binaries fail to run due to self-contained binary trimming
Binaries for .NET 6+ fail to run due to self-contained binary trimming
Mar 31, 2024
After recent commits trimmed binaries do run correctly, however plugins are all broken due to them linking to libraries, namespaces or classes that don't exist within the self-contained binary due to the aforementioned trimming.
(11:33:57) Error loading plugins from plugins/CodenameMagma.dll
!!!Error (Unable to load one or more of the requested types.) - See logs/errors/2024-04-08error.log for more details.
Due to the way binaries are now built, which is a self-contained, trimmed binary the server fails to properly run due to aforementioned trimming
The text was updated successfully, but these errors were encountered: