The SonarScanner for MSBuild integration failed: SonarQube was unable to collect the required inform

Trying to scan a test project using ASP.NET VB. IDE VS2022 and I can’t get the last step done successfully. Please assist. Thank you!


F:\_DevAppTmp\sonarTest2022\sonarTest2022>E:\sonar-scanner-dotnet\SonarScanner.MSBuild.exe begin /k:"sonarTest2022" /d:sonar.host.url="http://localhost:9000" /d:sonar.token="sqp_d75835971b5a476aa0cd31780d356238dc74ad98" /d:"sonar.verbose=true"
SonarScanner for MSBuild 6.2
Using the .NET Framework version of the Scanner for MSBuild
Default properties file was found at E:\sonar-scanner-dotnet\SonarQube.Analysis.xml
Loading analysis properties from E:\sonar-scanner-dotnet\SonarQube.Analysis.xml
sonar.verbose=true was specified - setting the log verbosity to 'Debug'
Pre-processing started.
Preparing working directories...
Using environment variables to determine the download directory...
14:43:15.096  14:43:15.09  Loading analysis properties from E:\sonar-scanner-dotnet\SonarQube.Analysis.xml
14:43:15.098  14:43:15.096  sonar.verbose=true was specified - setting the log verbosity to 'Debug'
14:43:15.1  Updating build integration targets...
14:43:15.104  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\lycadmin\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
14:43:15.104  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\lycadmin\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
14:43:15.105  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\lycadmin\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
14:43:15.105  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\lycadmin\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
14:43:15.105  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\lycadmin\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
14:43:15.105  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\lycadmin\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
14:43:15.106  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\lycadmin\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
14:43:15.106  Installed SonarQube.Integration.targets to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\bin\targets
14:43:15.107  Creating config and output folders...
14:43:15.108  Creating directory: F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf
14:43:15.108  Creating directory: F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\out
14:43:15.133  Fetching server version...
14:43:15.135  Downloading from http://localhost:9000/api/server/version...
14:43:15.17  Response received from http://localhost:9000/api/server/version...
14:43:15.176  Checking if the server version is supported...
14:43:15.18  Checking validity of server license...
14:43:15.181  Downloading from http://localhost:9000/api/editions/is_valid_license...
14:43:15.183  Response received from http://localhost:9000/api/editions/is_valid_license...
14:43:15.184  SonarQube Community Edition detected, license is valid.
14:43:15.188  Fetching analysis configuration settings...
14:43:15.19  Fetching properties for project 'sonarTest2022'...
14:43:15.191  Downloading from http://localhost:9000/api/settings/values?component=sonarTest2022...
14:43:15.198  Response received from http://localhost:9000/api/settings/values?component=sonarTest2022...
14:43:15.201  Downloading from http://localhost:9000/api/languages/list...
14:43:15.203  Response received from http://localhost:9000/api/languages/list...
14:43:15.206  Fetching quality profile for project 'sonarTest2022'...
14:43:15.206  Downloading from http://localhost:9000/api/qualityprofiles/search?project=sonarTest2022...
14:43:15.224  Response received from http://localhost:9000/api/qualityprofiles/search?project=sonarTest2022...
14:43:15.226  Fetching rules for quality profile 'fbe3edf7-7e53-4e69-b88e-23aa0157a001'...
14:43:15.226  Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=fbe3edf7-7e53-4e69-b88e-23aa0157a001&p=1...
14:43:15.809  Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=fbe3edf7-7e53-4e69-b88e-23aa0157a001&p=1...
14:43:15.821  Local analyzer cache: C:\Users\lycadmin\AppData\Local\Temp\.sonarqube\resources
14:43:15.825  Writing Roslyn generated ruleset to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf\Sonar-cs.ruleset...
14:43:15.831  Writing Roslyn generated ruleset to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf\Sonar-cs-none.ruleset...
14:43:15.833  Provisioning analyzer assemblies for cs...
14:43:15.834  Installing required Roslyn analyzers...
14:43:15.834  Processing plugin: csharp version 9.27.0.93347
14:43:15.84  Cache hit: using plugin files from C:\Users\lycadmin\AppData\Local\Temp\.sonarqube\resources\0
14:43:15.84  Processing plugin: vbnet version 9.27.0.93347
14:43:15.841  Cache hit: using plugin files from C:\Users\lycadmin\AppData\Local\Temp\.sonarqube\resources\1
14:43:15.844  Writing Roslyn analyzer additional file to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf\cs\SonarLint.xml...
14:43:15.844  Fetching quality profile for project 'sonarTest2022'...
14:43:15.845  Downloading from http://localhost:9000/api/qualityprofiles/search?project=sonarTest2022...
14:43:15.86  Response received from http://localhost:9000/api/qualityprofiles/search?project=sonarTest2022...
14:43:15.861  Fetching rules for quality profile '0edf40f4-c9d2-46f3-ac8b-109a90f999b5'...
14:43:15.861  Downloading from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=0edf40f4-c9d2-46f3-ac8b-109a90f999b5&p=1...
14:43:16.112  Response received from http://localhost:9000/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=0edf40f4-c9d2-46f3-ac8b-109a90f999b5&p=1...
14:43:16.116  Local analyzer cache: C:\Users\lycadmin\AppData\Local\Temp\.sonarqube\resources
14:43:16.116  Writing Roslyn generated ruleset to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf\Sonar-vbnet.ruleset...
14:43:16.117  Writing Roslyn generated ruleset to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf\Sonar-vbnet-none.ruleset...
14:43:16.117  Provisioning analyzer assemblies for vbnet...
14:43:16.117  Installing required Roslyn analyzers...
14:43:16.117  Processing plugin: csharp version 9.27.0.93347
14:43:16.118  Cache hit: using plugin files from C:\Users\lycadmin\AppData\Local\Temp\.sonarqube\resources\0
14:43:16.118  Processing plugin: vbnet version 9.27.0.93347
14:43:16.119  Cache hit: using plugin files from C:\Users\lycadmin\AppData\Local\Temp\.sonarqube\resources\1
14:43:16.123  Writing Roslyn analyzer additional file to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf\vbnet\SonarLint.xml...
14:43:16.125  Processing analysis cache
14:43:16.127  Incremental PR analysis: Base branch parameter was not provided.
14:43:16.127  Cache data is empty. A full analysis will be performed.
14:43:16.14  Pre-processing succeeded.

------------------------


F:\_DevAppTmp\sonarTest2022\sonarTest2022>msbuild /t:rebuild -v:d
MSBuild version 17.7.2+d6990bcfa for .NET Framework
Build started 11/7/2024 3:02:08 pm.
Process = "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe"
MSBuild executable path = "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.ex
e"
Command line arguments = "msbuild  /t:rebuild -v:d"
Current directory = "F:\_DevAppTmp\sonarTest2022\sonarTest2022"
MSBuild version = "17.7.2+d6990bcfa"
Some command line switches were read from the auto-response file "C:\Program Files\Microsoft Visual Studio\2022\Communi
ty\MSBuild\Current\Bin\amd64\MSBuild.rsp". To disable this file, use the "-noAutoResponse" switch.

Search paths being used for $(MSBuildExtensionsPath) are C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuil
d;$(MSBuildProgramFiles32)\MSBuild
Search paths being used for $(MSBuildExtensionsPath) are C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuil
d;$(MSBuildProgramFiles32)\MSBuild
Trying to import C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\$(MSBuildToolsVersion)\SolutionFile\Im
portAfter\* using extensions path C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild
Assembly loaded during Evaluation: Microsoft.IO.Redist, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd
51 (location: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\Microsoft.IO.Redist.dll, MVID
: d528d43e-4d35-4c28-8aa6-a5ce49a5eba7, AppDomain: [Default])
Assembly loaded during Evaluation: System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (l
ocation: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\System.Buffers.dll, MVID: f389ca43
-32bf-4e24-ad8c-a6ed5efddff3, AppDomain: [Default])
Property reassignment: $(_GenerateRestoreGraphProjectEntryInputProperties)="
      ExcludeRestorePackageImports=true;
      _RestoreSolutionFileUsed=true;
      SolutionDir=F:\_DevAppTmp\sonarTest2022\sonarTest2022\;
      SolutionName=sonarTest2022;
      SolutionFileName=sonarTest2022.sln;
      SolutionPath=F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln;
      SolutionExt=.sln;
    " (previous value: "ExcludeRestorePackageImports=true") at C:\Program Files\Microsoft Visual Studio\2022\Community\
Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets (86,5)
The target "_CheckForInvalidConfigurationAndPlatform" listed in a BeforeTargets attribute at "C:\Program Files\Microsof
t Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets (602,11)" does not exist in t
he project, and will be ignored.
sonarTest2022: Defaulting .NET Framework v4.7.2 to the .NET Framework v4.0 version of aspnet_compiler.exe. To change th
e version of the tool used, please set the "ToolPath" parameter with the correct path to the tool.
sonarTest2022: Defaulting .NET Framework v4.7.2 to the .NET Framework v4.0 version of aspnet_compiler.exe. To change th
e version of the tool used, please set the "ToolPath" parameter with the correct path to the tool.
Project "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln" on node 1 (rebuild target(s)).
Target "ValidateSolutionConfiguration" in file "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln.metaproj" f
rom project "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln" (entry point):
Task "Error" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidCon
figurations)' != 'true')) was evaluated as (('<SolutionConfiguration>
  <ProjectConfiguration Project="{6D9D9BCC-2712-4B5A-8153-1DB1B2AD5706}" AbsolutePath="F:\_DevAppTmp\sonarTest2022\sona
rTest2022" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>' == '') and ('' != 'true')).
Task "Warning" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidC
onfigurations)' == 'true')) was evaluated as (('<SolutionConfiguration>
  <ProjectConfiguration Project="{6D9D9BCC-2712-4B5A-8153-1DB1B2AD5706}" AbsolutePath="F:\_DevAppTmp\sonarTest2022\sona
rTest2022" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
</SolutionConfiguration>' == '') and ('' == 'true')).
Using "Message" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5
f7f11d50a3a".
Task "Message"
  Building solution configuration "Debug|Any CPU".
Done executing task "Message".
Done building target "ValidateSolutionConfiguration" in project "sonarTest2022.sln".
Target "ValidateToolsVersions" in file "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln.metaproj" from proj
ect "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln" (entry point):
Task "Error" skipped, due to false condition; ('$(MSBuildToolsVersion)' == '2.0' and ('$(ProjectToolsVersion)' != '2.0'
 and '$(ProjectToolsVersion)' != '')) was evaluated as ('Current' == '2.0' and ('' != '2.0' and '' != '')).
Done building target "ValidateToolsVersions" in project "sonarTest2022.sln".
Target "ValidateProjects" in file "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln.metaproj" from project "
F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln" (entry point):
Task "Warning" skipped, due to false condition; ( ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') )
was evaluated as ( ('Debug' == 'Release') and ('Any CPU' == 'Any CPU') ).
Done building target "ValidateProjects" in project "sonarTest2022.sln".
Target "Rebuild" in file "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln.metaproj" from project "F:\_DevAp
pTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln" (entry point):
Using "MSBuild" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5
f7f11d50a3a".
Task "MSBuild"
  Global Properties:
    BuildingSolutionFile=true
    CurrentSolutionConfigurationContents=<SolutionConfiguration>
    <ProjectConfiguration Project="{6D9D9BCC-2712-4B5A-8153-1DB1B2AD5706}" AbsolutePath="F:\_DevAppTmp\sonarTest2022\so
  narTest2022" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
  </SolutionConfiguration>
    SolutionDir=F:\_DevAppTmp\sonarTest2022\sonarTest2022\
    SolutionExt=.sln
    SolutionFileName=sonarTest2022.sln
    SolutionName=sonarTest2022
    SolutionPath=F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln
  Additional Properties for project "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.metaproj":
    Configuration=Debug
    Platform=Any CPU
Project "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln" (1) is building "F:\_DevAppTmp\sonarTest2022\sona
rTest2022\sonarTest2022.metaproj" (2) on node 1 (Rebuild target(s)).
Target "GetFrameworkPathAndRedistList" in project "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.metaproj" (t
arget "Rebuild" depends on it):
Using "GetFrameworkPath" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyTo
ken=b03f5f7f11d50a3a".
Task "GetFrameworkPath"
Done executing task "GetFrameworkPath".
Using "CreateItem" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b0
3f5f7f11d50a3a".
Task "CreateItem"
Done executing task "CreateItem".
Done building target "GetFrameworkPathAndRedistList" in project "sonarTest2022.metaproj".
Target "Rebuild" in project "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.metaproj" (entry point):
Task "MSBuild"
Done executing task "MSBuild".
Task "CreateItem"
Done executing task "CreateItem".
Using "ReadLinesFromFile" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyT
oken=b03f5f7f11d50a3a".
Task "ReadLinesFromFile"
Done executing task "ReadLinesFromFile".
Using "CombinePath" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b
03f5f7f11d50a3a".
Task "CombinePath"
Done executing task "CombinePath".
Task "Copy" skipped, due to false condition; (!Exists('%(Project_6D9D9BCC-2712-4B5A-8153-1DB1B2AD5706_References_Rebuil
d.Identity)')) was evaluated as (!Exists('..\sonarTest2022\..\packages\DotNetTool.Service.0.3.0\lib\netstandard2.0\DotN
etTool.Service.dll')).
Using "GetReferenceAssemblyPaths" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, Pu
blicKeyToken=b03f5f7f11d50a3a".
Task "GetReferenceAssemblyPaths"
Done executing task "GetReferenceAssemblyPaths".
Using "ResolveAssemblyReference" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, Pub
licKeyToken=b03f5f7f11d50a3a".
Task "ResolveAssemblyReference"
  TargetFrameworkMoniker:
      .NETFramework,Version=v4.7.2
  TargetFrameworkMonikerDisplayName:

  TargetedRuntimeVersion:

  Assemblies:
      F:\_DevAppTmp\sonarTest2022\packages\DotNetTool.Service.0.3.0\lib\netstandard2.0\DotNetTool.Service.dll
  AssemblyFiles:
  CandidateAssemblyFiles:
  TargetFrameworkDirectories:
      C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\
  InstalledAssemblyTables:
  IgnoreInstalledAssemblyTable:
      False
  SearchPaths:
      {RawFileName}
      {TargetFrameworkDirectory}
      {GAC}
  AllowedAssemblyExtensions:
      .winmd
      .dll
      .exe
  AllowedRelatedFileExtensions:
      .pdb
      .xml
      .pri
  AppConfigFile:

  AutoUnify:
      False
  CopyLocalDependenciesWhenParentReferenceInGac:
      True
  FindDependencies:
      True
  TargetProcessorArchitecture:

  StateFile:

  InstalledAssemblySubsetTables:
  IgnoreInstalledAssemblySubsetTable:
      False
  TargetFrameworkSubsets:
  FullTargetFrameworkSubsetNames:
  ProfileName:

  FullFrameworkFolders:
      C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\
  LatestTargetFrameworkDirectories:
  ProfileTablesLocation:
F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.metaproj : warning MSB3268: The primary reference "F:\_DevAppTm
p\sonarTest2022\packages\DotNetTool.Service.0.3.0\lib\netstandard2.0\DotNetTool.Service.dll" could not be resolved beca
use it has an indirect dependency on the framework assembly "netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyTo
ken=cc7b13ffcd2ddd51" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.7.2".
To resolve this problem, either remove the reference "F:\_DevAppTmp\sonarTest2022\packages\DotNetTool.Service.0.3.0\lib
\netstandard2.0\DotNetTool.Service.dll" or retarget your application to a framework version which contains "netstandard
, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51".
Done executing task "ResolveAssemblyReference".
Using "Copy" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f
11d50a3a".
Task "Copy"
Done executing task "Copy".
Using "AspNetCompiler" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToke
n=b03f5f7f11d50a3a".
Task "AspNetCompiler"

  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe -v /localhost_60709 -p ..\sonarTest2022\ -u -f -d
   PrecompiledWeb\localhost_60709\
  Microsoft (R) ASP.NET Compilation Tool version 4.8.9032.0
  Utility to precompile an ASP.NET application
  Copyright (C) Microsoft Corporation. All rights reserved.


Done executing task "AspNetCompiler".
Task "Message" skipped, due to false condition; (!((false) or ('$(AspNetConfiguration)' == 'Debug') or ('$(AspNetConfig
uration)' == 'Release'))) was evaluated as (!((false) or ('Debug' == 'Debug') or ('Debug' == 'Release'))).
Done building target "Rebuild" in project "sonarTest2022.metaproj".
Done Building Project "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.metaproj" (Rebuild target(s)).

Done executing task "MSBuild".
Done building target "Rebuild" in project "sonarTest2022.sln".
Done Building Project "F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln" (rebuild target(s)).


Build succeeded.

"F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.sln" (rebuild target) (1) ->
"F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.metaproj" (Rebuild target) (2) ->
(Rebuild target) ->
  F:\_DevAppTmp\sonarTest2022\sonarTest2022\sonarTest2022.metaproj : warning MSB3268: The primary reference "F:\_DevApp
Tmp\sonarTest2022\packages\DotNetTool.Service.0.3.0\lib\netstandard2.0\DotNetTool.Service.dll" could not be resolved be
cause it has an indirect dependency on the framework assembly "netstandard, Version=2.0.0.0, Culture=neutral, PublicKey
Token=cc7b13ffcd2ddd51" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.7.2"
. To resolve this problem, either remove the reference "F:\_DevAppTmp\sonarTest2022\packages\DotNetTool.Service.0.3.0\l
ib\netstandard2.0\DotNetTool.Service.dll" or retarget your application to a framework version which contains "netstanda
rd, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51".

    1 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.00
----------------------------------------


F:\_DevAppTmp\sonarTest2022\sonarTest2022>E:\sonar-scanner-dotnet\SonarScanner.MSBuild.exe end /d:sonar.token="sqp_d75835971b5a476aa0cd31780d356238dc74ad98"
SonarScanner for MSBuild 6.2
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
15:03:09.884  15:03:09.881  Uninstalling target: F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\bin\targets\SonarQube.Integration.targets
15:03:09.884  15:03:09.884  sonar.verbose=true was specified - setting the log verbosity to 'Debug'
15:03:09.884  Loading the SonarQube analysis config from F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf\SonarQubeAnalysisConfig.xml
15:03:09.884  Not running under TeamBuild
15:03:09.885  Analysis base directory: F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube
Build directory:
Bin directory: F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\bin
Config directory: F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf
Output directory: F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\out
Config file: F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\conf\SonarQubeAnalysisConfig.xml
15:03:09.888  Generating SonarQube project properties file to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\out\sonar-project.properties
15:03:09.89  The SonarScanner for MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
Possible causes:
  1. The project has not been built - the project must be built in between the begin and end steps.
  2. An unsupported version of MSBuild has been used to build the project. Supported versions: MSBuild 16 and higher.
  3. The begin, build and end steps have not all been launched from the same folder.
  4. None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln).
15:03:09.89  Generation of the sonar-properties file failed. Unable to complete the analysis.
15:03:09.893  Writing processing summary to F:\_DevAppTmp\sonarTest2022\sonarTest2022\.sonarqube\out\ProjectInfo.log
15:03:09.893  Post-processing failed. Exit code: 1

Hey there.

Take a look at this post and the resulting conversation.