Microsoft.Common.targets: 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.targets - from package: mono-xbuild

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