Gettring error on analyzing silverlight project ,using vs 2012 to build

I am using sonar qube to analyse my sillverlight project which only builds on vs 2012.

I am using sonar-scanner-msbuild-5.1.0.28487-net46.

Previously the analusis ran but now i am facing issue in this step

SonarScanner.MSBuild.exe begin /k:"project name " /d:sonar.host.url=“https://sonarqube…” /d:sonar.login=“my_token_value” getting below error

C:\sonar-scanner-msbuild-5.1.0.28487-net46.sonarqube\bin\targets\SonarQube.Int
egration.targets(232,5): error MSB4062: The “IsTestFileByName” task could not b
e loaded from the assembly C:\sonar-scanner-msbuild-5.1.0.28487-net46.sonarqub
e\bin\SonarScanner.MSBuild.Tasks.dll. Could not load file or assembly ‘Microsof
t.Build.Utilities.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5
f7f11d50a3a’ or one of its dependencies. The system cannot find the file specif
ied. 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 also have vs 2019 installed on the machines somewhere i read that we need msbuild version 14 or more but not sure what are the steps for that.