Please provide
- Operating system:
- Visual Studio version: 2022 - Community Edition
- SonarLint plugin version:
- Programming language you’re coding in: c#
- Is connected mode used:
- Connected to SonarCloud or SonarQube (and which version): SonarQube 10.4.1
And a thorough description of the problem / question:
MsBuild.exe /t:Rebuild - Rebuild Project Fails
C:\Mahesh_0\sonar-scanner-6.2.0.85879-net-framework\SonarScanner.MSBuild.exe begin /k:"UserDefMsgToCustRetailer" /d:sonar.host.url="http://127.0.0.1:9000" /d:sonar.token="sqp_8a8448d6d4fb605dcd073c62a9d83288f7278851"
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
'C:\SmartBuild\UserDefMsgToCustRetailer.sln' /t:Rebuild
-This step fails - solution file not found
If executed without solution file path
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
/t:Rebuild
All project build fails
C:\SmartBuild>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe 'C:\SmartBuild\UserDefMsgToCustRetailer.sln' /t:Rebuild
Microsoft (R) Build Engine version 4.8.9032.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: 'C:\SmartBuild\UserDefMsgToCustRetailer.sln'
C:\SmartBuild>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe /t:Rebuild
Microsoft (R) Build Engine version 4.8.9032.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 23/03/2024 5:08:33 PM.
Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" on node 1 (Rebuild target(s)).
ValidateSolutionConfiguration:
Building solution configuration "Debug|Mixed Platforms".
ValidateProjects:
The project "TTKSmartBulkMessengerSetup" is not selected for building in solution configuration "Debug|Mixed Platform
s".
The target "FindReferenceAssembliesForReferences" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\
targets\SonarQube.Integration.targets (163,11)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in a BeforeTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (396,55)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (420,54)" does not exist in the project, and will be ignored.
The target "ResolveCodeAnalysisRuleSet" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\So
narQube.Integration.targets (546,9)" does not exist in the project, and will be ignored.
Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (1) is building "C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsg
ToCustRetailer.csproj" (2) on node 1 (Rebuild target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
The target "FindReferenceAssembliesForReferences" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\
targets\SonarQube.Integration.targets (163,11)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in a BeforeTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (396,55)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (420,54)" does not exist in the project, and will be ignored.
The target "ResolveCodeAnalysisRuleSet" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\So
narQube.Integration.targets (546,9)" does not exist in the project, and will be ignored.
Project "C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj" (2) is building "C:\SmartBuild\TTK.Dat
aLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (3) on node 1 (Clean target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
The target "FindReferenceAssembliesForReferences" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\
targets\SonarQube.Integration.targets (163,11)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in a BeforeTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (396,55)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (420,54)" does not exist in the project, and will be ignored.
The target "ResolveCodeAnalysisRuleSet" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\So
narQube.Integration.targets (546,9)" does not exist in the project, and will be ignored.
Project "C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (3) is building "C:\SmartB
uild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj" (4) on node 1 (Clean target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
Done Building Project "C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj" (Clean target(s)).
Done Building Project "C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (Clean targe
t(s)).
The target "FindReferenceAssembliesForReferences" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\
targets\SonarQube.Integration.targets (163,11)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in a BeforeTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (396,55)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (420,54)" does not exist in the project, and will be ignored.
The target "ResolveCodeAnalysisRuleSet" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\So
narQube.Integration.targets (546,9)" does not exist in the project, and will be ignored.
Project "C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj" (2) is building "C:\SmartBuild\TTKBasi
cControls\TTKBasicControls VS2010.csproj" (5) on node 1 (Clean target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
Done Building Project "C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj" (Clean target(s)).
Project "C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj" (2) is building "C:\SmartBuild\TTK.Dat
aLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (3:2) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
Project "C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (3:2) is building "C:\Smar
tBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj" (4:3) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the i
nput files.
SonarCategoriseProject:
Sonar: (TTK.DataLayer.LOV VS2010.csproj) Categorizing project as test or product code...
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(235,5): error MSB4062: The "IsTestByReference" task
could not be loaded from the assembly C:\SmartBuild\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll. Could not load file
or assembly 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one
of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, t
hat the assembly and all its dependencies are available, and that the task contains a public class that implements Micr
osoft.Build.Framework.ITask. [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
Done Building Project "C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj" (default targets) -- FAILED.
Done Building Project "C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (default tar
gets) -- FAILED.
Project "C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj" (2) is building "C:\SmartBuild\TTKBasi
cControls\TTKBasicControls VS2010.csproj" (5:2) on node 1 (default targets).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
The target "FindReferenceAssembliesForReferences" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\
targets\SonarQube.Integration.targets (163,11)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in a BeforeTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (396,55)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (420,54)" does not exist in the project, and will be ignored.
The target "ResolveCodeAnalysisRuleSet" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\So
narQube.Integration.targets (546,9)" does not exist in the project, and will be ignored.
Project "C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj" (5:2) is building "C:\SmartBuild\TTKBasicContro
ls\TTKBasicControls VS2010_c0sab5e3_wpftmp.csproj" (6) on node 1 (_CompileTemporaryAssembly target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
SonarCategoriseProject:
Sonar: (TTKBasicControls VS2010_c0sab5e3_wpftmp.csproj) Categorizing project as test or product code...
Sonar: (TTKBasicControls VS2010_c0sab5e3_wpftmp.csproj) project is a temporary project and will be excluded.
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(235,5): error MSB4062: The "IsTestByReference" task
could not be loaded from the assembly C:\SmartBuild\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll. Could not load file
or assembly 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one
of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, t
hat the assembly and all its dependencies are available, and that the task contains a public class that implements Micr
osoft.Build.Framework.ITask. [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010_c0sab5e3_wpftmp.csproj]
Done Building Project "C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010_c0sab5e3_wpftmp.csproj" (_CompileTemporar
yAssembly target(s)) -- FAILED.
Done Building Project "C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj" (default targets) -- FAILED.
Done Building Project "C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj" (Rebuild target(s)) -- F
AILED.
Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (1) is building "C:\SmartBuild\TTKBasicControls\TTKBasicControls V
S2010.csproj" (5:3) on node 1 (Rebuild target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
FailIfLowerThanMSBuild14:
Sonar: (TTKBasicControls VS2010.csproj) Current MSBuildToolsVersion: 4.0
Sonar: (TTKBasicControls VS2010.csproj) Current MSBuildAssemblyVersion:
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(151,5): error : SonarQube analysis is only supported
with MSBuild 16 or later. [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj]
Done Building Project "C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj" (Rebuild target(s)) -- FAILED.
Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (1) is building "C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV
VS2010.csproj" (4:5) on node 1 (Rebuild target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
FailIfLowerThanMSBuild14:
Sonar: (TTK.DataLayer.LOV VS2010.csproj) Current MSBuildToolsVersion: 4.0
Sonar: (TTK.DataLayer.LOV VS2010.csproj) Current MSBuildAssemblyVersion:
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(151,5): error : SonarQube analysis is only supported
with MSBuild 16 or later. [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
Done Building Project "C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj" (Rebuild target(s)) -- FAILED.
Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (1) is building "C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.Da
taLayer.CardManagementVS10.csproj" (3:3) on node 1 (Rebuild target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
FailIfLowerThanMSBuild14:
Sonar: (TTK.DataLayer.CardManagementVS10.csproj) Current MSBuildToolsVersion: 4.0
Sonar: (TTK.DataLayer.CardManagementVS10.csproj) Current MSBuildAssemblyVersion:
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(151,5): error : SonarQube analysis is only supported
with MSBuild 16 or later. [C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj]
Done Building Project "C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (Rebuild tar
get(s)) -- FAILED.
The target "FindReferenceAssembliesForReferences" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\
targets\SonarQube.Integration.targets (163,11)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in a BeforeTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (396,55)" does not exist in the project, and will be ignored.
The target "RazorCoreCompile" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\SonarQube.In
tegration.targets (420,54)" does not exist in the project, and will be ignored.
The target "ResolveCodeAnalysisRuleSet" listed in an AfterTargets attribute at "C:\SmartBuild\.sonarqube\bin\targets\So
narQube.Integration.targets (546,9)" does not exist in the project, and will be ignored.
Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (1) is building "C:\SmartBuild\FuncLib\FuncLib VS2010.csproj" (7)
on node 1 (Rebuild target(s)).
Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to res
olve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVers
ion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://g
o.microsoft.com/fwlink/?LinkId=291333.
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the i
nput files.
SonarCategoriseProject:
Sonar: (FuncLib VS2010.csproj) Categorizing project as test or product code...
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(235,5): error MSB4062: The "IsTestByReference" task
could not be loaded from the assembly C:\SmartBuild\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll. Could not load file
or assembly 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one
of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, t
hat the assembly and all its dependencies are available, and that the task contains a public class that implements Micr
osoft.Build.Framework.ITask. [C:\SmartBuild\FuncLib\FuncLib VS2010.csproj]
Done Building Project "C:\SmartBuild\FuncLib\FuncLib VS2010.csproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target(s)) -- FAILED.
Build FAILED.
"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj" (Rebuild target) (2) ->
"C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (default target) (3:2) ->
"C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj" (default target) (4:3) ->
(SonarCategoriseProject target) ->
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(235,5): error MSB4062: The "IsTestByReference" tas
k could not be loaded from the assembly C:\SmartBuild\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll. Could not load fil
e or assembly 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or o
ne of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct,
that the assembly and all its dependencies are available, and that the task contains a public class that implements Mi
crosoft.Build.Framework.ITask. [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj" (Rebuild target) (2) ->
"C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj" (default target) (5:2) ->
"C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010_c0sab5e3_wpftmp.csproj" (_CompileTemporaryAssembly target) (6)
->
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(235,5): error MSB4062: The "IsTestByReference" tas
k could not be loaded from the assembly C:\SmartBuild\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll. Could not load fil
e or assembly 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or o
ne of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct,
that the assembly and all its dependencies are available, and that the task contains a public class that implements Mi
crosoft.Build.Framework.ITask. [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010_c0sab5e3_wpftmp.csproj]
"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj" (Rebuild target) (5:3) ->
(FailIfLowerThanMSBuild14 target) ->
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(151,5): error : SonarQube analysis is only support
ed with MSBuild 16 or later. [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj]
"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj" (Rebuild target) (4:5) ->
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(151,5): error : SonarQube analysis is only support
ed with MSBuild 16 or later. [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (Rebuild target) (3:3) ->
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(151,5): error : SonarQube analysis is only support
ed with MSBuild 16 or later. [C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj]
"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\FuncLib\FuncLib VS2010.csproj" (Rebuild target) (7) ->
(SonarCategoriseProject target) ->
C:\SmartBuild\.sonarqube\bin\targets\SonarQube.Integration.targets(235,5): error MSB4062: The "IsTestByReference" tas
k could not be loaded from the assembly C:\SmartBuild\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll. Could not load fil
e or assembly 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or o
ne of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct,
that the assembly and all its dependencies are available, and that the task contains a public class that implements Mi
crosoft.Build.Framework.ITask. [C:\SmartBuild\FuncLib\FuncLib VS2010.csproj]
0 Warning(s)
6 Error(s)
Time Elapsed 00:00:02.29
C:\Mahesh_0\sonar-scanner-6.2.0.85879-net-framework\SonarScanner.MSBuild.exe end /d:sonar.token="sqp_8a8448d6d4fb605dcd073c62a9d83288f7278851"