Issue in running SonarScanner.MSBuild

Hi,
Sonarqube Community Build and Sonar Scanner 7.0.2 Windows x64
Sonarqube deployed with zip file
Sonar-Scanner-9.2.1.110358-dotnet-framework

on executing the following command
“sonar-scanner-9.2.1.110358-dotnet-framework\SonarScanner.MSBuild.exe”

getting following warnings & error code kindly suggest.

Preparing working directories…
19:12:31.92 Updating build integration targets…
19:12:32.195 WARNING: Authentication with the server has failed.
19:12:32.197 WARNING: In version 7 of the scanner, the default value for the sonar.host.url changed from “http://localhost:9000” to “https://sonarcloud.io”.
If the intention was to connect to the local SonarQube instance, please add the parameter: /d:sonar.host.url=“http://localhost:9000
19:12:32.199 Pre-processing failed. Exit code: 1

Hi,

What does this mean to you?

Also, version 9.2.1 of SonarScanner for .NET is deprecated. You should update to the latest version at your earliest convenience.

 
Ann

Hi,
Facing same issue on sonar-scanner-10.1.1.111189-net-framework version

Hi @afzaalurrehman,

I’ll pose the same question to you. What does that error message mean to you?

 
Ann

Hi,
I think there is an issue with my built or sonar scanner configuration.

Hi,

Does analysis succeed? And if not, have you tried providing a sonar.host.url value?

 
Ann

Hi,
Same issue following is sonar-scanner-properties

#----- Default SonarQube server----
sonar.host.url=http://localhost:9000

#----- Default source code encoding--------
#sonar.sourceEncoding=UTF-8

Hi,

Can you please provide your full analysis log, starting from the analysis command itself?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann