'SonarScanner.MSBuild.exe' is not recognized as an internal or external command error

We are using Sonarqube * Enterprise Edition Version 10.3 (build 82913), Sonnarqube is installed in a standalone server and the application we use is in Visual studio.
I have mapped the code in my local server folder and tried the below command

SonarScanner.MSBuild.exe begin /k:“Events_Booking” /d:sonar.host.url=“" /d:sonar.login="********”

But i am getting an error SonarScanner.MSBuild.exe’ is not recognized as an internal or external command. Could you please guide me in downloading and installing the appropriate sonarscanner. msbuild file

Hey there.

You can find the installation instructions here. As it mentions:

  • Add <INSTALL_DIRECTORY> to your PATH environment variable.