Sonar cube for framework 3.5

I would like to analyze my c#(framework 3.5) using sonar cube & sonar scanner
i am trying to do with the following
generated key and followed the given commands, while executing ms build command I am getting the following exceptions.
The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
Possible causes:

  1. The project has not been built - the project must be built in between the begin and end steps
  2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0 and 15.0 are supported
  3. The begin, build and end steps have not all been launched from the same folder
  4. None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln)
    Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
    15:31:56.2 Creating a summary markdown file…
    15:31:56.203 Post-processing failed. Exit code: 1

please let me know is possible to analyze .net framework 3.5 projects using sonar cube, if yes please provide supporting sonar cube, sonar scanner & ms build.

Thanks in advance

Hi @Muhasseena

What version of MsBuild are you using? and can you post the exact steps (commands) you run to get this error?

After the project is build a directory .sonarqube is generated. Can you please attach to this post .sonarqube\out\ProjectInfo.log?

Thank you,

Thank you very much for your reply
I have followed the following steps.
created a project in sonar cube via front end and generated a key after that follows
1.full path of \SonarScanner.MSBuild.exe begin /k:“key” /“http://localhost:9000” /d:sonar.login=“ff324570775526ec30a96bb1eb8b3a50bd6b4417”

& ‘C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe’ /t:Rebuild
until step 2 everything ok and build completed shows.
3. path to SonarScanner.MSBuild.exe end /d:sonar.login=“ff324570775526ec30a96bb1eb8b3a50bd6b4417”

after executing the 3rd step its getting the above pasted exception,
used versions are

and I checked in .sonarqube\out\ProjectInfo.log - {none} displayed under every header ie,
Product projects

Test projects

Invalid projects


Skipped projects


Excluded projects


Thanks in advance

Hi @Muhasseena

Thank you for all the details. As you already noticed there are no projects found (and logged in ProjectInfo.log) and this might be a problem with the begin step.

Would it be possible to run the begin step again with verbose logging enabled /d:sonar.verbose=true and attach the logs?

Thank you,