Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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!

like image 696
ephtron Avatar asked Jan 18 '17 15:01

ephtron


2 Answers

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

like image 97
ephtron Avatar answered Sep 16 '22 13:09

ephtron


Accepted answer led me to the official guide: Mono-project download

This can help with various other systems (different than Debian). It helped me to get through the process and resolved problem on Ubuntu 18.04.

For Ubuntu 18.04 it is, first Add the Mono repository to your system:

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 

then,

sudo apt install mono-devel sudo apt install mono-complete 
like image 45
Mateusz Sęczkowski Avatar answered Sep 20 '22 13:09

Mateusz Sęczkowski