Msbuild: command not found [solved]

I’m getting this trying to run build task in VS code.

> Executing task in folder ryanp: msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparameters:NoSummary <

/usr/bin/bash: msbuild: command not found
The terminal process "C:\Program Files\Git\bin\bash.exe '--login', '-c', 'msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparameters:NoSummary'" terminated with exit code: 127.

I can successfully run make via gitbash and get build files but it would be nice to run it in vscode.

I have C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe in my PATH variables as well. have also tried the 64 file as well. Don’t know if that matters.

So finally solved it…

Task: run build task didn’t work, but using the item called “Build” does. Not sure what that’s really about.