.net core app is failing on Sonarqube end analysis task in TFS 2015

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

Hi Everyone,

I’m using sonarqube 7.5 developer edition
and when I try to do code analysis for my dot net core application from the TFS 2015 using sonarscanner for MSBuild-begin analysis (new) and end analysis(new ).My build is failing on end analysis task with the below errors
##[error]The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
##[error]Possible causes:
##[error]1. The project has not been built - the project must be built in between the begin and end steps
##[error]2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0 upwards are supported
##[error]3. The begin, build or end steps have not all been launched from the same folder
##[error]Cannot determine if the analysis has finished. Possible cause: your SonarQube server version is lower than 5.3 - for more details see https://go.microsoft.com/fwlink/?LinkId=722407

For the above errors, actually my build task is in between begin and end steps and I used ms build version 15.0 .
I’m not sure why its giving the above error .Can anyone please help me how to resolve.