下载 MonoMSBuild

Mono

Ubuntu 18.04

$ sudo apt install gnupg ca-certificates
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
$ echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
$ sudo apt update

其他版本详见 链接

MSBuild

$ sudo apt-get install msbuild

设置 Unity

Unity » Window » Package Manager 中安装 Jetbrains Rider Editor

Unity » File » Preferences » External Tools » External Script Editor 中选择 Rider

References:

  1. https://www.mono-project.com/download/stable/
  2. https://rider-support.jetbrains.com/hc/en-us/community/posts/115000168504-Cannot-load-the-project-with-the-current-MSBuild-toolset-Please-ensure-MSBuild-15-0-is-installed-
  3. https://jasonsturges.medium.com/using-rider-with-unity-4dbb25311039