I am trying with below command . dotnet sonarscanner begin /k:${project.name} but it is not picking value from sonar-project.properties file. i am working on .net project with latest version of dotnet sonarscanner.
please help me out. TIA
How to read values of sonar-project.properties file in. dotnet sonarscanner begin /k:${project.name}
Hi,
Welcome to the community!
The SonarScanner for .NET doesn’t use sonar-project.properties
. You’ll want to pass any extra values on the analysis command line.
HTH,
Ann
So, as per comment we have to pass variables through command line, sonar-project properties file is of no use in .net and we should not use as it doesn’t support