Mac:Scanner for MSBuild about Unity3D

*SonarQube : 9.0.1.46107 ,
*SonarScanner for MSBuild 5.8 : sonar-scanner-msbuild-5.8.0.52797-net46

    1. mono /Users/lc/environment/sonar-scanner-msbuild-5.8.0.52797-net46/SonarScanner.MSBuild.exe begin /k:“xxx” /d:sonar.host.url=“http://localhost:9000” /d:sonar.login=“xxxxxx”
    1. msbuild xxx.sln /t:Rebuild
    1. mono /Users/lc/environment/sonar-scanner-msbuild-5.8.0.52797-net46/SonarScanner.MSBuild.exe end /d:sonar.login=“xxxxxx”

When I execute the third step, I get an error.:arrow_down:

Failed to parse or retrieve arguments for command line.
The TFS Processor did not complete successfully

Please how should this be done please help me thanks!

Hey there.

It looks like the screenshot you’ve shared is just starting to share the full exception… but we can’t see it.


Hi,thank you for your reply.

This StackOverflow article looks pretty relevant in the context of Unity3D

I solved the problem, we need to run
chmod +x /Users/lc/environment/sonar-scanner-msbuild-5.8.0.52797-net46/sonar-scanner-4.7.0.2747/bin/sonar-scanner
That’s fine!
Thank you very much for your help.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.