Hi!
My project is built using VS 2019.
I run the build with a wrapper:
build-wrapper-win-x86-64.exe --out-dir bw-output <build command>
and then I run the sonar scanning:
sonar-scanner.bat -X -D"sonar.organization=XXXX" -D"sonar.projectKey=XXXX" -D"sonar.sources=." -D"sonar.cfamily.build-wrapper-output=bw-output" -D"sonar.host.url=https://sonarcloud.io" -D"sonar.branch.name=refs/heads/develop"
And I get the following error:
06:17:01.926 ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: java.io.IOException: Cannot run program “C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x86\cl.exe” (in directory “D:\tmp\develop\tmclient\out_stealth”): CreateProcess error=267, The directory name is invalid
Please Help!