Configure Sonarqube in Microsoft Bot framework

I want to configure Sonarqube in Bot framework but getting error as shown in given screenshot. My Bot code is in C#(SDK 4) and Target framework is .NET Core 3.1 I have to configure Sonarqube for my Bot framework code. I am running Sonarqube from docker and used SonarScanner for .NET | SonarQube Docs reference link to download Sonar Scanner. I have performed below steps below steps to configure the same.

  1. Download Sonar Scanner 5.2.2(.NET Core 2.0+) and extracted into C drive.

  2. Added C:\sonar-scanner-msbuild-\sonar-scanner-\bin to path in system variables.

  3. I have performed SonarScanner.MSBuild.exe begin /k:"<name>" /"http://localhost:9000" /d:sonar.login="<token> command but it gives me below error.



Welcome to the community!

It’s been a while since I dealt with Windows but I have a vague memory of needing to restart (or at least log out/back in) before %PATH% changes kicked in.