Skip to content

Ubuntu 19.04 (Disco Dingo)

Mohammad Mahdi Saffari edited this page Aug 4, 2019 · 1 revision

Using AvaloniaILSpy on Ubuntu 19.04

As of writing this wiki, the latest binary release -which is likely built on an older Ubuntu- does not work on Disco Dingo and it has to be built from source.

Prerequisites

0- Clone the source git(s)

git clone https://github.com/icsharpcode/AvaloniaILSpy.git
cd AvaloniaILSpy
git clone https://github.com/jeffreye/AvaloniaEdit.git

1- Install mono from Mono Downloads page

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

2- Install .NET Core SDK following Microsoft's instructions

wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-2.2

3- Build the source

./build.sh

You may now run ILSpy from ILSpy/bin/Release/netcoreapp2.2/ubuntu.14.04-x64 located under the folder you have cloned the source into.

Clone this wiki locally