Error while executing task Prepare: Use 'scannerMode: dotnet' instead of 'scannerMode: MSBuild' in y

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) -
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
  • what have you tried so far to achieve this

I’m updating Sonarqube and moving to a new server. I went from 8.9 to 10.7 and from windows server 2016 to 2022. The UI is coming up and it looks right but when I go to run the pipelines I get an error. Error while executing task Prepare: Use ‘scannerMode: dotnet’ instead of ‘scannerMode: MSBuild’ in your task configuration. I’m not sure what I need to do to fix this. The pipelines worked using MSBuild before the upgrade

I’m using Enterprise Edition v2025.1 (102418)
Azure devops and TFS (slowly migrating to Azure)

Hi,

Welcome to the community!

Have you tried changing the scanner mode?

 
Ann