Scanning VB.net project does not ́t publish code result to sonarqube server

Hi,

your project seems to be marked as a test project, not a production code. You’re probably referencing some test framework libraries.

Please try to explicitly set your project type as a main code. If you have SonarLint installed, right click on the project(s) and select SonarLint connected mode/Set project type/Non-Test project.

If you don’t have SonarLint, add this to your *.vbproj file(s) for production code:

  <PropertyGroup>
    <SonarQubeTestProject>False</SonarQubeTestProject>
  </PropertyGroup>

Please let us know if it helps.

1 Like