How to install mono with MSbuild for unity project?

I have found a solution on how to setup unity and vscode. it doesn’t require mono, all it requires is following the instructions on the vscode website and installing the dotnet sdk. Intellisense works for me and I get no errors.