MsBuild.exe /t:Rebuild - Rebuild Project Fails

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"

Hi,

You’ve filed this under SonarLint. Are you experiencing this in-IDE?

And if not, could you provide debug logs, please?

Share the Scanner for .NET verbose logs

  • Add /d:"sonar.verbose=true" to the…
    • SonarScanner.MSBuild.exe or dotnet sonarscanner begin command to get more detailed logs
      • For example: SonarScanner.MSBuild.exe begin /k:"MyProject" /d:"sonar.verbose=true"
    • “SonarQubePrepare” or “SonarCloudPrepare” task’s extraProperties argument if you are using Azure DevOps
      • For example:
        - task: SonarCloudPrepare@1
            inputs:
              SonarCloud: 'sonarcloud'
              organization: 'foo'
              scannerMode: 'MSBuild'
              projectKey: 'foo_sonar-scanning-someconsoleapp'
              projectName: 'sonar-scanning-someconsoleapp'
              extraProperties: |
                sonar.verbose=true
        
  • The important logs are in the END step (i.e. SonarQubeAnalyze / SonarCloudAnalyze / “Run Code Analysis”)

Share the msbuild detailed logs

MsBuild.exe /t:Rebuild /v:d

or

dotnet build -v:d

 
Thx,
Ann

Thank u

I am executing commands in project directory via command prompt
getting error while executing MsBuild.exe /t:Rebuild /v:d

Hi,

Please provide verbose job logs.

 
Ann

Microsoft Windows [Version 10.0.22631.3374]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32>C:\SmartBuild
'C:\SmartBuild' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\System32>cd C:\SmartBuild

C:\SmartBuild>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"
SonarScanner for MSBuild 6.2
Using the .NET Framework version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
19:02:28.631  Updating build integration targets...
19:02:28.795  Fetching analysis configuration settings...
19:02:30.905  Provisioning analyzer assemblies for cs...
19:02:30.907  Installing required Roslyn analyzers...
19:02:30.908  Processing plugin: csharp version 9.19.0.84025
19:02:30.928  Processing plugin: vbnet version 9.19.0.84025
19:02:30.93  Processing plugin: securitycsharpfrontend version 10.4.0.30099
19:02:31.624  Provisioning analyzer assemblies for vbnet...
19:02:31.625  Installing required Roslyn analyzers...
19:02:31.625  Processing plugin: csharp version 9.19.0.84025
19:02:31.626  Processing plugin: vbnet version 9.19.0.84025
19:02:31.636  Incremental PR analysis: Base branch parameter was not provided.
19:02:31.637  Cache data is empty. A full analysis will be performed.
19:02:31.664  Pre-processing succeeded.

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 01/04/2024 7:03:20 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="17.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.
CoreClean:
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\PresentationFramework.Luna.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\UserDefMsgToCustRetailer.exe.config".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\UserDefMsgToCustRetailer.exe".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\UserDefMsgToCustRetailer.pdb".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\FuncLib.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Oracle.ManagedDataAccess.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTK.DataLayer.CardManagement.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTK.DataLayer.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTK.DataLayer.LOV.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTKBasicControls.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTK.DataLayer.CardManagement.pdb".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTK.DataLayer.LOV.pdb".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTKBasicControls.pdb".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.Build.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.Build.Framework.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.NET.StringTools.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Buffers.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Collections.Immutable.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Configuration.ConfigurationManager.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Memory.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Numerics.Vectors.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Security.AccessControl.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Security.Permissions.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Security.Principal.Windows.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Text.Encodings.Web.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Text.Json.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Threading.Tasks.Dataflow.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Threading.Tasks.Extensions.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.ValueTuple.dll".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTK.DataLayer.CardManagement.dll.config".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTK.DataLayer.LOV.dll.config".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\TTKBasicControls.dll.config".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.Build.pdb".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.Build.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.Build.Framework.pdb".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.Build.Framework.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\Microsoft.NET.StringTools.pdb".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Buffers.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Collections.Immutable.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Configuration.ConfigurationManager.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Memory.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Numerics.Vectors.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Runtime.CompilerServices.Unsafe.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Security.AccessControl.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Security.Permissions.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Security.Principal.Windows.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Text.Encodings.Web.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Text.Json.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Threading.Tasks.Dataflow.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.Threading.Tasks.Extensions.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\bin\Debug\System.ValueTuple.xml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer.exe".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer.pdb".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer.csproj.AssemblyReference.cac
  he".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\MainWindow.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\Resources\MyResourceDictionary.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\BasicUC\Block.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\App.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\MainWindow.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\BasicUC\Block.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\BasicUC\LoadingAnimation.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\BasicUC\MailAttachmentLine.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\BackgroundWorkerDlg.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\GeneralBulkCommandResultDlg.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\MessagesDlg.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\NewPasswordDlg.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\BulkCommandDlg.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\SetupDBDlg.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Screens\SendMessage.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Screens\Login.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Screens\Template.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\App.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer_Content.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\GeneratedInternalTypeHelper.g.cs".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer_MarkupCompile.cache".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer_MarkupCompile.lref".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\Resources\TextResourceDictionary.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\BasicUC\LoadingAnimation.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\BasicUC\MailAttachmentLine.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\BackgroundWorkerDlg.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\GeneralBulkCommandResultDlg.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\MessagesDlg.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\NewPasswordDlg.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\BulkCommandDlg.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Dialogs\SetupDBDlg.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Screens\SendMessage.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Screens\Login.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UI\Screens\Template.baml".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer.g.resources".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\TTK.Applications.WPF.UserDefMsgToCustRetailer.Propert
  ies.Resources.resources".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\TTK.Applications.WPF.UserDefMsgToCustRetailer.TextRes
  .TextLib.resources".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer.csproj.GenerateResource.cach
  e".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefMsgToCustRetailer.csproj.CoreCompileInputs.cac
  he".
  Deleting file "C:\SmartBuild\UserDefMsgToCustRetailer\obj\Debug\UserDefM.20DCBC08.Up2Date".
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="17.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.
CoreClean:
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\TTK.DataLayer.CardManagement.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\TTK.DataLayer.CardManagement.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\FuncLib.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\TTK.DataLayer.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\TTK.DataLayer.LOV.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Oracle.ManagedDataAccess.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\TTK.DataLayer.LOV.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\TTK.DataLayer.CardManagement.dll.config".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.Build.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.Build.Framework.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.NET.StringTools.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Buffers.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Collections.Immutable.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Configuration.ConfigurationManager.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Memory.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Numerics.Vectors.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Security.AccessControl.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Security.Permissions.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Security.Principal.Windows.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Text.Encodings.Web.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Text.Json.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Threading.Tasks.Dataflow.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Threading.Tasks.Extensions.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.ValueTuple.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\TTK.DataLayer.LOV.dll.config".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.Build.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.Build.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.Build.Framework.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.Build.Framework.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\Microsoft.NET.StringTools.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Buffers.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Collections.Immutable.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Configuration.ConfigurationManager.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Memory.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Numerics.Vectors.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Runtime.CompilerServices.Unsafe.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Security.AccessControl.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Security.Permissions.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Security.Principal.Windows.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Text.Encodings.Web.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Text.Json.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Threading.Tasks.Dataflow.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.Threading.Tasks.Extensions.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\bin\Debug\System.ValueTuple.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\obj\Debug\TTK.DataLayer.CardManagement.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\obj\Debug\TTK.DataLayer.CardManagement.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\obj\Debug\TTK.DataLayer.CardManagementVS10.csproj.AssemblyR
  eference.cache".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\obj\Debug\TTK.DataLayer.CardManagementVS10.csproj.CoreCompi
  leInputs.cache".
  Deleting file "C:\SmartBuild\TTK.DataLayer.CardManagement\obj\Debug\TTK.Data.EA6A5B0C.Up2Date".
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="17.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.
CoreClean:
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\TTK.DataLayer.LOV.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\TTK.DataLayer.LOV.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\TTK.DataLayer.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Oracle.ManagedDataAccess.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\TTK.DataLayer.LOV.dll.config".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.Build.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.Build.Framework.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.NET.StringTools.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Buffers.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Collections.Immutable.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Configuration.ConfigurationManager.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Memory.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Numerics.Vectors.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Security.AccessControl.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Security.Permissions.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Security.Principal.Windows.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Text.Encodings.Web.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Text.Json.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Threading.Tasks.Dataflow.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Threading.Tasks.Extensions.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.ValueTuple.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.Build.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.Build.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.Build.Framework.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.Build.Framework.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\Microsoft.NET.StringTools.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Buffers.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Collections.Immutable.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Configuration.ConfigurationManager.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Memory.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Numerics.Vectors.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Runtime.CompilerServices.Unsafe.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Security.AccessControl.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Security.Permissions.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Security.Principal.Windows.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Text.Encodings.Web.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Text.Json.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Threading.Tasks.Dataflow.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.Threading.Tasks.Extensions.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\bin\Debug\System.ValueTuple.xml".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\obj\Debug\TTK.DataLayer.LOV.dll".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\obj\Debug\TTK.DataLayer.LOV.pdb".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\obj\Debug\TTK.DataLayer.LOV VS2010.csproj.AssemblyReference.cache".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\obj\Debug\TTK.DataLayer.LOV VS2010.csproj.CoreCompileInputs.cache".
  Deleting file "C:\SmartBuild\TTK.DataLayer.LOV\obj\Debug\TTK.Data.A4D48535.Up2Date".
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="17.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.
CoreClean:
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\TTKBasicControls.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\TTKBasicControls.pdb".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\PresentationFramework.Classic.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\TTKBasicControls.dll.config".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.Build.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.Build.Framework.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.NET.StringTools.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Buffers.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Collections.Immutable.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Configuration.ConfigurationManager.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Memory.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Numerics.Vectors.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Security.AccessControl.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Security.Permissions.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Security.Principal.Windows.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Text.Encodings.Web.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Text.Json.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Threading.Tasks.Dataflow.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Threading.Tasks.Extensions.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.ValueTuple.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.Build.pdb".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.Build.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.Build.Framework.pdb".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.Build.Framework.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\Microsoft.NET.StringTools.pdb".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Buffers.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Collections.Immutable.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Configuration.ConfigurationManager.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Memory.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Numerics.Vectors.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Runtime.CompilerServices.Unsafe.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Security.AccessControl.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Security.Permissions.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Security.Principal.Windows.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Text.Encodings.Web.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Text.Json.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Threading.Tasks.Dataflow.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.Threading.Tasks.Extensions.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\bin\Debug\System.ValueTuple.xml".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\Block.baml".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\MessagesDlg.baml".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TimeControl.baml".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\Block.g.cs".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\LoadingAnimation.g.cs".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\LoadingDlg.g.cs".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\MessagesDlg.g.cs".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TimeControl.g.cs".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\GeneratedInternalTypeHelper.g.cs".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls_MarkupCompile.cache".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls_MarkupCompile.lref".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls.dll".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls.pdb".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls VS2010.csproj.AssemblyReference.cache".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\LoadingAnimation.baml".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\LoadingDlg.baml".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\Themes\Generic.baml".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls.g.resources".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls.Properties.Resources.resources".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls VS2010.csproj.GenerateResource.cache".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasicControls VS2010.csproj.CoreCompileInputs.cache".
  Deleting file "C:\SmartBuild\TTKBasicControls\obj\Debug\TTKBasic.C57E21DC.Up2Date".
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="17.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="17.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.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary referenc
e "Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" cou
ld not be resolved because it has a higher version "15.1.0.0" than exists in the current target framework. The version
found in the current target framework is "4.0.0.0". [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary referenc
e "Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture
=MSIL" could not be resolved because it has a higher version "15.1.0.0" than exists in the current target framework. Th
e version found in the current target framework is "4.0.0.0". [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010
.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3258: The primary referenc
e "Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" cou
ld not be resolved because it has an indirect dependency on the .NET Framework assembly "Microsoft.Build.Framework, Ver
sion=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "15.1.0.0" than the version
 "4.0.0.0" in the current target framework. [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary referenc
e "System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" co
uld not be resolved because it has a higher version "4.0.3.0" than exists in the current target framework. The version
found in the current target framework is "4.0.2.0". [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3258: The primary referenc
e "System.Text.Json, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" cou
ld not be resolved because it has an indirect dependency on the .NET Framework assembly "System.ValueTuple, Version=4.0
.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" which has a higher version "4.0.3.0" than the version "4.0.2.0"
 in the current target framework. [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3258: The primary referenc
e "Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" cou
ld not be resolved because it has an indirect dependency on the .NET Framework assembly "System.ValueTuple, Version=4.0
.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" which has a higher version "4.0.3.0" than the version "4.0.2.0"
 in the current target framework. [C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj]
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="17.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.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary referenc
e "Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" cou
ld not be resolved because it has a higher version "15.1.0.0" than exists in the current target framework. The version
found in the current target framework is "4.0.0.0". [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary referenc
e "Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture
=MSIL" could not be resolved because it has a higher version "15.1.0.0" than exists in the current target framework. Th
e version found in the current target framework is "4.0.0.0". [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.c
sproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3258: The primary referenc
e "Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" cou
ld not be resolved because it has an indirect dependency on the .NET Framework assembly "Microsoft.Build.Framework, Ver
sion=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "15.1.0.0" than the version
 "4.0.0.0" in the current target framework. [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3257: The primary referenc
e "System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" co
uld not be resolved because it has a higher version "4.0.3.0" than exists in the current target framework. The version
found in the current target framework is "4.0.2.0". [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3258: The primary referenc
e "System.Text.Json, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" cou
ld not be resolved because it has an indirect dependency on the .NET Framework assembly "System.ValueTuple, Version=4.0
.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" which has a higher version "4.0.3.0" than the version "4.0.2.0"
 in the current target framework. [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj]
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3258: The primary referenc
e "Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" cou
ld not be resolved because it has an indirect dependency on the .NET Framework assembly "System.ValueTuple, Version=4.0
.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" which has a higher version "4.0.3.0" than the version "4.0.2.0"
 in the current target framework. [C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj]
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_t3fuvjrx_wpftmp.csproj" (6) on node 1 (_CompileTemporaryAssembly target(s)).
Project file contains ToolsVersion="17.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_t3fuvjrx_wpftmp.csproj) Categorizing project as test or product code...
  Sonar: (TTKBasicControls VS2010_t3fuvjrx_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_t3fuvjrx_wpftmp.csproj]
Done Building Project "C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010_t3fuvjrx_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.



Done Building Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target(s)) -- FAILED.


    18 Warning(s)
    6 Error(s)

Time Elapsed 00:00:02.89

C:\SmartBuild>

This new after many tries

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 01/04/2024 7:36:54 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".
Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (1) is building "C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsg
ToCustRetailer.csproj" (2) on node 1 (Rebuild target(s)).
C:\SmartBuild\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj(1,1): error MSB4041: The default XML namespace o
f the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmln
s="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in t
he old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
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" (3) on node 1 (Rebuild target(s)).
C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj(1,1): error MSB4041: The default XML namespace of the pro
ject must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http:/
/schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.
0 or 1.2 format, please convert it to MSBuild 2003 format.
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) on node 1 (Rebuild target(s)).
C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj(1,1): error MSB4041: The default XML namespace of the p
roject must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http
://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old
1.0 or 1.2 format, please convert it to MSBuild 2003 format.
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" (5) on node 1 (Rebuild target(s)).
C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj(1,1): error MSB4041: The default XML
 namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, ple
ase add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been a
uthored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
Done Building Project "C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (Rebuild tar
get(s)) -- FAILED.

Project "C:\SmartBuild\UserDefMsgToCustRetailer.sln" (1) is building "C:\SmartBuild\FuncLib\FuncLib VS2010.csproj" (6)
on node 1 (Rebuild target(s)).
C:\SmartBuild\FuncLib\FuncLib VS2010.csproj(1,1): error MSB4041: The default XML namespace of the project must be the M
SBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft
.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, p
lease convert it to MSBuild 2003 format.
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\UserDefMsgToCustRetailer\UserDefMsgToCustRetailer.csproj(1,1): error MSB4041: The default XML namespace
 of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xm
lns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in
 the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.


"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj" (Rebuild target) (3) ->
  C:\SmartBuild\TTKBasicControls\TTKBasicControls VS2010.csproj(1,1): error MSB4041: The default XML namespace of the p
roject must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http
://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old
1.0 or 1.2 format, please convert it to MSBuild 2003 format.


"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj" (Rebuild target) (4) ->
  C:\SmartBuild\TTK.DataLayer.LOV\TTK.DataLayer.LOV VS2010.csproj(1,1): error MSB4041: The default XML namespace of the
 project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="ht
tp://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the ol
d 1.0 or 1.2 format, please convert it to MSBuild 2003 format.


"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj" (Rebuild target) (5) ->
  C:\SmartBuild\TTK.DataLayer.CardManagement\TTK.DataLayer.CardManagementVS10.csproj(1,1): error MSB4041: The default X
ML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, p
lease add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been
 authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.


"C:\SmartBuild\UserDefMsgToCustRetailer.sln" (Rebuild target) (1) ->
"C:\SmartBuild\FuncLib\FuncLib VS2010.csproj" (Rebuild target) (6) ->
  C:\SmartBuild\FuncLib\FuncLib VS2010.csproj(1,1): error MSB4041: The default XML namespace of the project must be the
 MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microso
ft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format,
 please convert it to MSBuild 2003 format.

    0 Warning(s)
    5 Error(s)

Time Elapsed 00:00:00.55

Hi,

What happens if you run the Rebuild command on its own, without first running the begin command?

 
Thx,
Ann