Edit: updating mono to version 6.12 fixed the problem
mono 6.8 is the last version available on the official raspberry os by defaut, to get mono 6.12 on raspberry os you need to manually add the repository
Code: Select all
sudo apt install apt-transport-https dirmngr gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/debian stable-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update