JetBrains Rider EAP on Linux - Solution load failed: MsBuild not found

ephtron picture ephtron · Jan 18, 2017 · Viewed 11.2k times · Source

Just installed the latest version of Rider EAP (163.12057) and tried to create a new solution.

In my Solution Explorer its shows my Solution and (load failed). In the Event Log window I get the error message:

Solution 'FirstSolution' load failed: MsBuild not found on this machine

Any ideas on how I can solve this loading problem? Thanks in advance!

Answer

ephtron picture ephtron · Jan 18, 2017

I managed to solve the loading error.

I was missing Mono and found out through this thread here that Rider currently needs Mono 4.6.2.

I followed this guide to install Mono.

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update

sudo apt-get install mono-devel
sudo apt-get install mono-complete

I hope this will help someone else.

UPDATE: Asp.Net Core

if you'll be using Asp.Net Core, and encounter error about missing xsp.exe you might need to install mono-xsp4 with this command

sudo apt-get install mono-xsp4