Microsoft.Common.tasks: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/lib/mono/xbuild/12.0/bin/Microsoft.Common.tasks - from package: mono-xbuild

You may install the required package with command apt-get install {package}
Error in other languages:
Microsoft.Common.tasks: bevel nie gevind nie
Microsoft.Common.tasks: comandă negăsită
Microsoft.Common.tasks: comando não encontrado
Microsoft.Common.tasks: commande introuvable
Microsoft.Common.tasks: command not found
Microsoft.Common.tasks: käsku ei ole
Microsoft.Common.tasks: không tìm thấy lệnh
Microsoft.Common.tasks: komanda nerasta
Microsoft.Common.tasks: Kommando nicht gefunden.
Microsoft.Common.tasks: kommandot finns inte
Microsoft.Common.tasks: komut yok
Microsoft.Common.tasks: nie znaleziono polecenia
Microsoft.Common.tasks: níor aimsíodh an t-ordú
Microsoft.Common.tasks: no se encontró la orden
Microsoft.Common.tasks: no s'ha trobat l'ordre
Microsoft.Common.tasks: opdracht niet gevonden
Microsoft.Common.tasks: parancs nem található
Microsoft.Common.tasks: perintah tidak ditemukan
Microsoft.Common.tasks: príkaz nenájdený
Microsoft.Common.tasks: příkaz nenalezen
Microsoft.Common.tasks: команда не найдена
Microsoft.Common.tasks: командата не е открита
Microsoft.Common.tasks: 命令找不到
Microsoft.Common.tasks: コマンドが見つかりません