ClassiCube / MCGalaxy

A Minecraft Classic / ClassiCube server software
GNU General Public License v3.0
176 stars 83 forks source link

Linux: No DLL generated on /compile or /pcompile #810

Closed Siriusmart closed 3 months ago

Siriusmart commented 3 months ago

Setup

The server is compiled from /CLI because the release zip file only contains a .exe. The compiled server runs right and there doesn't seem to be an issue with it.

Expected behaviour

When ran /compile, a .dll file should pop up in the dll/ directory, and the command can be loaded.

Observed behaviour

No .dll file is generated, as such the command cannot be loaded.

After a bit of poking around, the behaviour is the same with

Attachments

/compile HelloClassiCube
(22:41:13) Command compiled successfully from CmdHelloClassiCube.cs
(22:41:13) (console) used /Compile HelloClassiCube
/cmdload HelloClassiCube
(22:41:18) File extra/commands/dll/CmdHelloClassiCube.dll not found.
(22:41:18) (console) used /CmdLoad HelloClassiCube

https://github.com/user-attachments/assets/6981a432-badb-4721-bb71-75742c3e08b2


Thank you in advance.

Goodlyay commented 3 months ago

I don't know how to solve this at all but this is a really well formatted issue report, just had to say that

Siriusmart commented 3 months ago

Resolved in latest commit (3ff3089)

image

(also MCG_DOTNET_PATH should be the binary in /usr/share/dotnet/dotnet instead of the symlinked /usr/bin/dotnet, which was a bit confusing at first)