My setup: Ubuntu 20.4 LTS, mono 6.12.0.122, .NET Core SDK (3.1.408), msbuild 16.6.0, JetBrains Rider as IDE
Mono can be used instead of NET Framework 4.x, since there's no NET Framework for Linux
Install mono-devel (you may need to add mono repositories, to do this follow these instructions)
sudo apt-get install mono-devel
If your IDE shows tons of errors and/or can't compile the code (but you can compile it in the terminal), you will need:
sudo apt-get install mono-dbg
This is a debugger for mono
Follow these instructions to download the .NET Core
To download msbuild, run:
sudo apt-get install msbuild
You don't need nuget to compile the code, it's a package manager for .NET. It can be pretty useful though.
sudo apt-get install nuget
Compiling Burning Knight
# clone the repo
git clone https://github.com/egordorichev/BurningKnight
cd BurningKnight
# install the packages
nuget restore
# build the project
msbuild
# run the game
cd Desktop/bin/Debug/
mono Desktop.exe