#How can I compile plugins into dll in linux?
1 messages · Page 1 of 1 (latest)
i think you need to install mono, iirc@wicked bramble had the same issue but managed to fix it
seems like a completely different question then
Still same I want to compile code into .dll
So you're writing the code on Windows, but want to compile it on a VM running Linux?
I have only Linux, Debian 12 and VM running Ubuntu 22.04
Oh okay
I i was writing it on windows i would have installed visual studio
So you're writing the code in an IDE on Debian and your virtual machine is running the server?
Writing code and server running is on Debian. I use Ubuntu for Unity.
Why?
Yea so to compile a .dll file on Ubuntu, you're going to have to install mono
I have
try installing the .NET SDK from https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
and then run dotnet build in the project directory (dotnet build -c:Release for release builds)
https://github.com/mono/linux-packaging-msbuild/blob/main/documentation/wiki/Building-Testing-and-Debugging-on-.Net-Core-MSBuild.md
using Snap to install .NET is discouraged by Microsoft