Need help in resolving the sonarqube issue for msbuild scanner

Dear Community,
I am using Sonarscanner Runner for MSbuild to scan the Msbuild code, I am getting the below error during the end

18:34:09.301 DEBUG: Get bootstrap completed
[744](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:745)18:34:09.302 INFO: ------------------------------------------------------------------------

[745](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:746)18:34:09.302 INFO: EXECUTION FAILURE

[746](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:747)18:34:09.302 INFO: ------------------------------------------------------------------------

[747](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:748)18:34:09.303 INFO: Total time: 2.625s

[748](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:749)18:34:09.314 ERROR: Error during SonarQube Scanner execution

[749](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:750)18:34:09.314 INFO: Final Memory: 4M/20M

[750](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:751)org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQube

[751](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:752)18:34:09.314 INFO: ------------------------------------------------------------------------

[752](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:753) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)

[753](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:754) at java.base/java.security.AccessController.doPrivileged(Native Method)

[754](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:755) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74)

[755](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:756) at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70)

[756](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:757) at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)

[757](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:758) at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)

[758](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:759) at org.sonarsource.scanner.cli.Main.execute(Main.java:73)

[759](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:760) at org.sonarsource.scanner.cli.Main.main(Main.java:61)

[760](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:761)Caused by: java.lang.IllegalStateException: Fail to parse entry in bootstrap index:

[761](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:762) at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.parse(BootstrapIndexDownloader.java:59)

[762](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:763) at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:44)

[763](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:764) at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(JarDownloader.java:58)

[764](https://github.com/philips-internal/rocc-tech-native-app/actions/runs/5345862715/jobs/9692067470#step:6:765) at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownloader.java:53)

Below is the command used to scan

                    ${{ github.workspace }}\cicd\\ci_build.bat
          C:\MSBuild.SonarQube.Runner.Tool.4.8.0\tools\sonar-scanner-msbuild-4.8.0.12008-net46\MSBuild.SonarQube.Runner.exe end /d:sonar.login=""

Initially I had used SonarScanner.Msbuild.exe both the ways I ended up with same error

The same sonarURL is used for dotnet project and many java projects and it is working perfectly only for msbuild I am facing issues, can you please help me to resolve this

Hey there.

This is pretty old. The latest version of the SonarScanner for .NET (and the version you should be using with SonarCloud) is v5.13.

Can you try using this version?