SonarScanner.MSBuild.exe end error with The SonarQube MSBuild integration failed

when I Used
sonarScanner for MSBuild 4.6.1,
sonarqube 7.3,

project structure:

I execute command as below:
....code>SonarScanner.MSBuild.exe begin /k:"xxxxxx"
....code>msbuild ./report/websult1.sln /t:Rebuild
....code>SonarScanner.MSBuild.exe end

found errors below:

Does anyone have any insight into what might be going on?

Hello. What sort of web project are you using? Does it have a csproj/vbproj file?

If it’s a legacy web site project that doesn’t have a project file then it cannot being analysed by the Scanner for MSBuild - see the Known Limitations section in the S4MSB docs.

1 Like

Thank you! As you said, the csproj file is missing in our project, and it works properly after I adding it.

1 Like