I have issue in running SonarQube
- Download and unzip the SonarQube Scanner for MSBuild
- And add the executable’s directory to the
- Execute SonarQube.Scanner.MSBuild.exe begin …, which succeeded
- Execute MSBuild.exe myproject.csrpj /t:Rebuild
Then I got the following error
…sonarqube\bin\targets\SonarQube.Integration.targets(212,5): error MSB4062: The “IsTestFileByName” task could not be loaded from the assembly …sonarqube\bin\SonarScanner.MSBuild.Tasks.dll. Could not load file or assembly ‘Microsoft.Build.Utilities.Core, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find t
he file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
I’m using .net 4.0. Latest SonarScanner for MSBuild 22.214.171.1248
Can you please help.