How to build With sonarscanner ,getting “MSbuild.exe is not recognize as internal and external command”?

A post was split to a new topic: Error when scanning with scanner for msbuild