"Specify which project file to use" on running Scanner for .Net core project

  • I am using SonarQube community edition V8.8 (build 42792 ) and dotnet-sonarscanner installed globally V 5.2.2
  • on running the command in root file I get the following message as in image attached
    can someone help me with this issue?

Hello @Gokul1

I would like to welcome you to our community.

First of all I would like to suggest to you to change your token, as part of it is visible in the picture you posted.

Getting back to the issue you reported, it seems to me that dotnet has this problem, you can see that in all of these opened issues:

What I can suggest to you to make it work is to make sure you have only one solution or project file in the folder you are trying to run the begin step for.

Update: ticket created - Running the begin step with the scanner dotnet tool fails if there are multiple projects in the same folder. · Issue #1103 · SonarSource/sonar-scanner-msbuild · GitHub