I think that the error is self explaining. The SonarQube.Analysis.xml was not found where it should be. Could you please try to unzip the Scanner again and try a new run ?
Hi @mickaelcaro I have deleted old scanner and downloaded new one and no luck I’m getting now diffrent errors.
CSC : error CS0006: Metadata file ‘C:\Users\siteadmin\AppData\Local\Temp\18.sonarqube\resources\1\SonarAnalyzer.VisualBasic.dll’ could not be found
I have a question Do I need to unzip the file inside the repos or anywhere it will be fine?
Also I’m analyzing .NET and C# code so do I need sonarqube Cli to be installed?
Do you have this error during the MSBuild build itself, or during the SonarQube analysis ?
As we have 2 different scanners for C# and C++ i would preferably go for analyzing your C# projects with the Scanner for MSBuild and the C++ part with the build-wrapper
I’m getting above error when executing the below command.
SonarScanner.MSBuild.exe begin /k:xxxxx /d:sonar.host.url=xxx.xx/d:sonar.verbose=true /d:sonar.login=xxxx
Is anything I’m doing wrong please let me know.
In single solution we have .Net & C++ projects so in that case I have to execlude the c++ projects from the MSBuild am I right? or any solution to build combined.
If yes, would be good if you can send me the full logs (ideally in debug mode) of the task where the error occur, that might help to troubleshoot. I can send you a PM if you need to share it privately, just let me know.