In tasks.json file, edit the line: "command": "dotnet" To: "command": "/usr/bin/dotnet" Tested on Linux Mint 20.2