Hey there.
This is a known issue – SCAN4NET-604
As noted in the ticket:
Known workarounds
Use
SonarScanner.MSBuild.exeordotnet sonarscanner.msbuild.dllto run the begin step, OR Create a solution that references the projects and build the solution.