CompileXaml and Rebuild Target issue while executing the Sonar command

I am getting below error while executing the sonar command “C:\SonarQube\SonarScanner.MSBuild.exe begin /k:”<Project_Name>" /"" /d:sonar.login="""

"C:\devwork\Dev\Codenet\ePropertyTax_Dev.sln" (Rebuild target) (1) ->
"C:\devwork\Dev\Codenet\OPTSilverlight\OPTSilverlight.csproj" (Rebuild target) (5) ->
"C:\devwork\Dev\Codenet\OPTTheme\OPTTheme.csproj" (default target) (7:2) ->
(MarkupCompilePass1 target) ->
  C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v5.0\Microsoft.Silverlight.Common.targets(171,9): error MSB4061:
 The "CompileXaml" task could not be instantiated from "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v5.0\Micro
soft.Silverlight.Build.Tasks.dll". Could not load file or assembly 'Microsoft.Silverlight.Build.Tasks, Version=,
 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Operation is not supported. (Exception f
rom HRESULT: 0x80131515) [C:\devwork\Dev\Codenet\OPTTheme\OPTTheme.csproj]
  C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v5.0\Microsoft.Silverlight.Common.targets(171,9): error MSB4060:
 The "CompileXaml" task has been declared or used incorrectly, or failed during construction. Check the spelling of the
 task name and the assembly name. [C:\devwork\Dev\Codenet\OPTTheme\OPTTheme.csproj]

can anyone help me with this on an urgent basis.

The error isn’t occurring during the execution of SonarScanner.MSBuild.exe. It’s happening during the actual build i.e. the execution of msbuild.exe itself.

Does the build step complete successfully if you omit the call to SonarScanner.MSBuild.exe?