Question: Does SonarQube support a Solution that comprises of multiple Frameworks projects (.Net Core 2.2, .Net Framework 4.7, etc.)?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this
    We have a very giant solution that comprises almost 48 other projects, mixed with different .net core and .net frameworks. We need to support the SonarQube scan now. While running the SonarQube scanner, i’m getting several error. I need to know that the Scanner/SonarQube support multiple frameworks in one solution.

.Net and .Net Core have different scanners. I don’t know for sure but I suspect you’re going to have to scan it twice.

How do you build this? MSBuild and .Net Core run different builders as well…

1 Like

I agree with @RSchaeferHIG, in the sense we need more information about

  • how you build the projects - are you using the dotnet tool or smth else?
  • are the projects multi target or not
  • what versions of the scanner for msbuild you are using
  • what are the errors

you should not need to scan them twice, depending on your configuration