.NET Core: Forcing a Project to be Scanning

hello

To explicitly mark a project as not being test for the S4NET you need to use the SonarQubeTestProject MSBuild property:

<PropertyGroup>
  <SonarQubeTestProject>false</SonarQubeTestProject>
</PropertyGroup>

What version of the Sonar Scanner for .NET are you using? Please update to the latest.

Could you please share the verbose logs with us, both for analysis commands (instructions) and for msbuild (/v:d)?

Since 5.2.0 it doesn’t look at the project name anymore.