Unexpected end of the "End" command on dotnet

Hello, everybody!

I am having a problem running the Scanner “end” command on DotNet. When running it ends without any message, and the analysis is not performed as shown in the image below.

sonar1

When I enable verbose mode I can see that it ends during the call to a .bat file.

I manually execute that file passing those arguments and it works normally.

Has anyone ever experienced this? I am a teacher and there are three other students of mine who are experiencing the same problem.

Thanks.

Hi @dan,

would it be possible to send us the verbose output of the END step?

In order to do that please run SonarScanner.MSBuild.exe begin /k:"MyProject" /d:sonar.verbose=true as the BEGIN step, and please attach the output of END step. Forwarding the output to a text file would also help us a lot.