I am using dotnet-sonarscanner --version 4.8.0 and Sonarqube version 7.94 LTS. Can you please suggest how can I use sonar.project.properties file in dotnet scanner command.
Command:
sh “”" dotnet sonarscanner begin -k:“sonarqubeABC” “”"
sh “dotnet build {workspace}/{solutionfile}”
sh “”" dotnet sonarscanner end -d:sonar.login=“secrect-text” “”"
The “SonarScanner for .NET” page does not refer to a sonar-project.properties file. There is some documentation about this file in the base SonarScanner page.
Is a sonar-project.properties file not needed/used when using the SonarScanner for .NET? Could I set up a sonar-project.properties file and configure the SonarScanner for .NET to consume it?