I am setting up sonarqube for .net core project and code is present in the ADO repo. So which project base directory path should i mention in the sonar-scanner.properties file?

Must-share information (formatted with Markdown):

  • I am using sonarqube 7.9LTS
  • I am setting up sonarqube for .net core project and code is present in the ADO repo. So which project base directory path should i mention in this dotnet build ?

These are the 4 steps which i need to perform:

1. dotnet tool install --global dotnet-sonarscanner
2. dotnet sonarscanner begin /k:"project-key"  /d:sonar.login="myAuthenticationToken"
3.dotnet build <path to solution.sln>
4. dotnet sonarscanner end /d:sonar.login="myAuthenticationToken"

so which solution path i will be giving in the third step?

Hello @prince_raj

It would be the path to your solution file for the .net core project you have.

Thanks
Andrei

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.