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

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