0

I am using sonarcloud for https://github.com/fatihyildirim1o/aspnet-starter-kit but it is not working because of below error.

enter image description here

where am i doing wrong?

  • 1
    It is better to embed the error message as text, so Stack Overflow can better index the question. – vernou Jul 07 '21 at 14:17

1 Answers1

0

The command dotnet build fail with this error message (line 26 on the capture in the question) :

MSBUILD : error MSB1011 : Specify wich project or solution file to use because this folder contains more than one project or solution file

Nothing is build and SonarQube can't analyze.

In the CI task, you need precise the csproj or the sln. If you need build and analyze several project/solution, it's need several dotnet build instructions.

In you case, you can :

dotnet build "onion-architecture.sln"
vernou
  • 6,818
  • 5
  • 30
  • 58