Sonarqube build hangs when calling dotnet build

Hi,
Using sonarqube server internally (2025.2, zip install, Community Edition), we are seeing a strange issue where merely adding the sonarqube scanner to the build, causes it to hang indefinitely.

In the build/console log, it gets to the point where it prints:

Pre-processing succeeded.
…(lots of preamble info)

and then shortly thereafter:

Building C:_jenkins\workspace<long-path-to-csproj-file> for sonarqube analysis

At that point it hangs and never makes any forward progress. Anyone have any idea what could cause that?

(providing additional reproduction steps, as I work with OP)

Using “dotnet-sonarscanner” tool version 9.2.1 to begin analysis, invoked from a powershell script as follows:

&dotnet sonarscanner "begin" `
      "/k:$sonarProjectKey" `
      "/d:sonar.host.url=$($env:SONAR_HOST_URL)" `
      "/d:sonar.token=$($env:SONAR_AUTH_TOKEN)" `
      "/d:sonar.scanner.scanAll=false" `
      "/d:sonar.cs.vscoveragexml.reportsPaths=$coverageFile" `
      "/v:$sonarQubeVersion"

Hang occurs when invoking the following (dotnet restore performed earlier in script):

&dotnet build $csprojFilePath --configuration Debug -o "someDir" --no-restore

The csproj is relatively trivial (850 lines of code)… here is its csproj content

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
    <Description>scrubbed</Description>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
    <RepositoryUrl>scrubbed</RepositoryUrl>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
  </ItemGroup>
</Project>

being built with dotnet SDK 8.0.206

Server is SonarQube Community Build v25.2.0.102705

Hi,

Could you add /d:"sonar.verbose=true" to that begin step and post the full log, redacted as necessary, please?

 
Thx,
Ann

07:17:32  SonarScanner for MSBuild 9.2.1
07:17:32  Using the .NET Core version of the Scanner for MSBuild
07:17:32  Default properties file was found at C:\Users\me\.nuget\packages\dotnet-sonarscanner\9.2.1\tools\netcoreapp3.1\any\SonarQube.Analysis.xml
07:17:32  Loading analysis properties from C:\Users\me\.nuget\packages\dotnet-sonarscanner\9.2.1\tools\netcoreapp3.1\any\SonarQube.Analysis.xml
07:17:32  sonar.verbose=true was specified - setting the log verbosity to 'Debug'
07:17:32  Pre-processing started.
07:17:32  Preparing working directories...
07:17:32  Using environment variables to determine the download directory...
07:17:32  14:17:32.083  Loading analysis properties from C:\Users\me\.nuget\packages\dotnet-sonarscanner\9.2.1\tools\netcoreapp3.1\any\SonarQube.Analysis.xml
07:17:32  14:17:32.098  Server Url: https://my_sonarqube_url/
07:17:32  14:17:32.098  Api Url: https://my_sonarqube_url/api/v2
07:17:32  14:17:32.098  Is SonarCloud: False
07:17:32  14:17:32.108  No truststore provided; attempting to use the default location.
07:17:32  14:17:32.109  No truststore found at the default location; proceeding without a truststore.
07:17:32  14:17:32.111  sonar.verbose=true was specified - setting the log verbosity to 'Debug'
07:17:32  14:17:32.112  Updating build integration targets...
07:17:32  14:17:32.118  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\me\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
07:17:32  14:17:32.119  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\me\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
07:17:32  14:17:32.121  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\me\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
07:17:32  14:17:32.122  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\me\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
07:17:32  14:17:32.124  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\me\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
07:17:32  14:17:32.126  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\me\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
07:17:32  14:17:32.126  The file SonarQube.Integration.ImportBefore.targets is up to date at C:\Users\me\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
07:17:32  14:17:32.131  Installed SonarQube.Integration.targets to c:\my_repo_dir\my_csproj_folder\.sonarqube\bin\targets
07:17:32  14:17:32.132  Creating config and output folders...
07:17:32  14:17:32.133  Creating directory: c:\my_repo_dir\my_csproj_folder\.sonarqube\conf
07:17:32  14:17:32.133  Creating directory: c:\my_repo_dir\my_csproj_folder\.sonarqube\out
07:17:32  14:17:32.152  Downloading from https://my_sonarqube_url/api/settings/values?component=unknown...
07:17:32  14:17:32.281  Response received from https://my_sonarqube_url/api/settings/values?component=unknown...
07:17:32  14:17:32.282  Fetching server version...
07:17:32  14:17:32.283  Downloading from https://my_sonarqube_url/api/v2/analysis/version...
07:17:32  14:17:32.293  Response received from https://my_sonarqube_url/api/v2/analysis/version...
07:17:32  14:17:32.295  Using SonarQube v25.2.0.102705.
07:17:32  14:17:32.296  Checking if the server version is supported...
07:17:32  14:17:32.303  Checking validity of server license...
07:17:32  14:17:32.303  Downloading from https://my_sonarqube_url/api/editions/is_valid_license...
07:17:32  14:17:32.306  Response received from https://my_sonarqube_url/api/editions/is_valid_license...
07:17:32  14:17:32.32  SonarQube Community Edition detected, license is valid.
07:17:32  14:17:32.321  JreResolver: Resolving JRE path.
07:17:32  14:17:32.323  Downloading from https://my_sonarqube_url/api/v2/analysis/jres?os=windows&arch=x64...
07:17:32  14:17:32.326  Response received from https://my_sonarqube_url/api/v2/analysis/jres?os=windows&arch=x64...
07:17:32  14:17:32.391  JreResolver: Cache hit 'C:\Users\me\.sonar\cache\11a61a94d383e755b08b4e5890a13d148bc9f95b7149cbbeec62efb8c75a4a67\OpenJDK17U-jre_x64_windows_hotspot_17.0.13_11.zip_extracted\jdk-17.0.13+11-jre/bin/java.exe'.
07:17:32  14:17:32.394  Fetching analysis configuration settings...
07:17:32  14:17:32.396  Fetching properties for project 'my_sonarqube_project_key:my_branch_name'...
07:17:32  14:17:32.397  Downloading from https://my_sonarqube_url/api/settings/values?component=my_sonarqube_project_key%3Amy_branch_name...
07:17:32  14:17:32.402  Response received from https://my_sonarqube_url/api/settings/values?component=my_sonarqube_project_key%3Amy_branch_name...
07:17:32  14:17:32.402  No settings for project my_sonarqube_project_key:my_branch_name. Getting global settings...
07:17:32  14:17:32.402  Downloading from https://my_sonarqube_url/api/settings/values...
07:17:32  14:17:32.408  Response received from https://my_sonarqube_url/api/settings/values...
07:17:32  14:17:32.418  Downloading from https://my_sonarqube_url/api/languages/list...
07:17:32  14:17:32.42  Response received from https://my_sonarqube_url/api/languages/list...
07:17:32  14:17:32.422  Fetching quality profile for project 'my_sonarqube_project_key:my_branch_name'...
07:17:32  14:17:32.423  Downloading from https://my_sonarqube_url/api/qualityprofiles/search?project=my_sonarqube_project_key%3Amy_branch_name...
07:17:32  14:17:32.425  Response received from https://my_sonarqube_url/api/qualityprofiles/search?project=my_sonarqube_project_key%3Amy_branch_name...
07:17:32  14:17:32.425  Downloading from https://my_sonarqube_url/api/qualityprofiles/search?defaults=true...
07:17:32  14:17:32.45  Response received from https://my_sonarqube_url/api/qualityprofiles/search?defaults=true...
07:17:32  14:17:32.454  Fetching rules for quality profile 'AWBdC6AjnGtAEmqhpM2R'...
07:17:32  14:17:32.454  Downloading from https://my_sonarqube_url/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AWBdC6AjnGtAEmqhpM2R&p=1...
07:17:32  14:17:32.542  Response received from https://my_sonarqube_url/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AWBdC6AjnGtAEmqhpM2R&p=1...
07:17:32  14:17:32.571  Local analyzer cache: C:\Users\me\AppData\Local\Temp\.sonarqube\resources
07:17:32  14:17:32.573  Writing Roslyn generated ruleset to c:\my_repo_dir\my_csproj_folder\.sonarqube\conf\Sonar-cs.ruleset...
07:17:32  14:17:32.589  Writing Roslyn generated ruleset to c:\my_repo_dir\my_csproj_folder\.sonarqube\conf\Sonar-cs-none.ruleset...
07:17:32  14:17:32.597  Provisioning analyzer assemblies for cs...
07:17:32  14:17:32.598  Installing required Roslyn analyzers...
07:17:32  14:17:32.598  Processing plugin: csharp version 10.6.0.109712
07:17:32  14:17:32.609  Cache hit: using plugin files from C:\Users\me\AppData\Local\Temp\.sonarqube\resources\3
07:17:32  14:17:32.614  Writing Roslyn analyzer additional file to c:\my_repo_dir\my_csproj_folder\.sonarqube\conf\cs\SonarLint.xml...
07:17:32  14:17:32.617  Fetching quality profile for project 'my_sonarqube_project_key:my_branch_name'...
07:17:32  14:17:32.617  Downloading from https://my_sonarqube_url/api/qualityprofiles/search?project=my_sonarqube_project_key%3Amy_branch_name...
07:17:32  14:17:32.621  Response received from https://my_sonarqube_url/api/qualityprofiles/search?project=my_sonarqube_project_key%3Amy_branch_name...
07:17:32  14:17:32.621  Downloading from https://my_sonarqube_url/api/qualityprofiles/search?defaults=true...
07:17:32  14:17:32.641  Response received from https://my_sonarqube_url/api/qualityprofiles/search?defaults=true...
07:17:32  14:17:32.642  Fetching rules for quality profile 'AYE7ZxRNzwbQie_K2Ij_'...
07:17:32  14:17:32.642  Downloading from https://my_sonarqube_url/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYE7ZxRNzwbQie_K2Ij_&p=1...
07:17:32  14:17:32.676  Response received from https://my_sonarqube_url/api/rules/search?f=repo,name,severity,lang,internalKey,templateKey,params,actives&ps=500&qprofile=AYE7ZxRNzwbQie_K2Ij_&p=1...
07:17:32  14:17:32.685  Local analyzer cache: C:\Users\me\AppData\Local\Temp\.sonarqube\resources
07:17:32  14:17:32.685  Writing Roslyn generated ruleset to c:\my_repo_dir\my_csproj_folder\.sonarqube\conf\Sonar-vbnet.ruleset...
07:17:32  14:17:32.688  Writing Roslyn generated ruleset to c:\my_repo_dir\my_csproj_folder\.sonarqube\conf\Sonar-vbnet-none.ruleset...
07:17:32  14:17:32.691  Provisioning analyzer assemblies for vbnet...
07:17:32  14:17:32.691  Installing required Roslyn analyzers...
07:17:32  14:17:32.691  Processing plugin: vbnet version 10.6.0.109712
07:17:32  14:17:32.692  Cache hit: using plugin files from C:\Users\me\AppData\Local\Temp\.sonarqube\resources\4
07:17:32  14:17:32.693  Writing Roslyn analyzer additional file to c:\my_repo_dir\my_csproj_folder\.sonarqube\conf\vbnet\SonarLint.xml...
07:17:32  14:17:32.71  Processing analysis cache
07:17:32  14:17:32.712  Incremental PR analysis: Base branch parameter was not provided.
07:17:32  14:17:32.712  Cache data is empty. A full analysis will be performed.
07:17:32  14:17:32.737  Pre-processing succeeded.

Hi,

I think I probably asked for the wrong thing. Tell me again in which step the job hangs?

And could we have that log?

 
Thx,
Ann

The next step in the script is dotnet build <csprojFilePath> and it prints 1 line similar to my_csproj_name CoreCompile (57.8s) and that (57.8s) is constantly incrementing, but no progress. Virtually same thing when I add -v diag

… I repeated this in a separate console (just invoke dotnet build) and it hangs the same way.

… I rebooted my PC and now the build completes successfully and reaches sonarscanner end . So it’s hard to say what was gumming up my PC and is now resolved. =\

Looks like I still have CI build machines which aren’t being regularly rebooted which can demonstrate the problem. Here is the output of dotnet build -v detailed for one of them.

10:19:12  Build started 3/19/2025 5:19:12 PM.
10:19:12       0>Process = "C:\Program Files\dotnet\dotnet.exe"
10:19:12         MSBuild executable path = "C:\Program Files\dotnet\sdk\8.0.407\MSBuild.dll"
10:19:12         Command line arguments = "C:\Program Files\dotnet\sdk\8.0.407\MSBuild.dll -maxcpucount -verbosity:m -nologo -consoleloggerparameters:Summary -property:Configuration=Debug -verbosity:detailed -property:OutputPath=c:\my_repo_dir\workDir\buildForSonar -property:_CommandLineDefinedOutputPath=true c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:\Program Files\dotnet\sdk\8.0.407\dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:\Program Files\dotnet\sdk\8.0.407\dotnet.dll"
10:19:12         Current directory = "c:\my_repo_dir"
10:19:12         MSBuild version = "17.11.26+2b19be476"
10:19:12         Based on the Windows registry key LongPathsEnabled, the LongPaths feature is disabled.
10:19:12         The SDK "Microsoft.NET.Sdk" was successfully resolved by the "DefaultSdkResolver" resolver to location "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\Sdk" and version "".
10:19:12         Assembly loaded during Evaluation: Microsoft.NET.StringTools, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\sdk\8.0.407\Microsoft.NET.StringTools.dll, MVID: e5e337c9-792b-4f11-a4d8-16b2a582360d, AssemblyLoadContext: Default)
10:19:12         Property 'MSBuildExtensionsPath' with value 'C:\Program Files\dotnet\sdk\8.0.407\' expanded from the environment.
10:19:12         Property reassignment: $(MSBuildProjectExtensionsPath)="c:\my_repo_dir\my_csproj_dir\obj\" (previous value: "obj\") at C:\Program Files\dotnet\sdk\8.0.407\Current\Microsoft.Common.props (60,5)
10:19:12         Assembly loaded during Evaluation: System.Threading.Tasks.Parallel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.14\System.Threading.Tasks.Parallel.dll, MVID: 3c264ea9-6010-4700-8ab2-fdaed6737ae9, AssemblyLoadContext: Default)
10:19:12         Property 'USERPROFILE' with value 'C:\Users\bldpssw' expanded from the environment.
10:19:12         Property 'MSBuildUserExtensionsPath' with value 'C:\Users\bldpssw\AppData\Local\Microsoft\MSBuild' expanded from the environment.
10:19:12         The "Configuration" property is a global property, and cannot be modified.
10:19:12         The "Configuration" property is a global property, and cannot be modified.
10:19:12         Property reassignment: $(AssemblySearchPaths)="{CandidateAssemblyFiles};{HintPathFromItem}" (previous value: "{CandidateAssemblyFiles}") at C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (91,5)
10:19:12         Property reassignment: $(AssemblySearchPaths)="{CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory}" (previous value: "{CandidateAssemblyFiles};{HintPathFromItem}") at C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (92,5)
10:19:12         Property reassignment: $(AssemblySearchPaths)="{CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName}" (previous value: "{CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory}") at C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.props (93,5)
10:19:12         The "DefaultSdkResolver" resolver attempted to resolve the SDK "Microsoft.NET.SDK.WorkloadAutoImportPropsLocator".

// NOTE: large portion of the output here is omitted for brevity (post size limit is 100k)

10:19:13       1>Target "GenerateAssemblyInfo" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.GenerateAssemblyInfo.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "BeforeCompile" depends on it):
10:19:13       1>Done building target "GenerateAssemblyInfo" in project "my_csproj_filename.csproj".
10:19:13         Target "GenerateGlobalUsings" skipped, due to false condition; (@(Using->Count()) != 0) was evaluated as (0 != 0).
10:19:13       1>Target "BeforeCompile" in file "C:\Program Files\dotnet\sdk\8.0.407\Microsoft.Common.CurrentVersion.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "Compile" depends on it):
10:19:13       1>Done building target "BeforeCompile" in project "my_csproj_filename.csproj".
10:19:13         Target "_TimeStampBeforeCompile" skipped, due to false condition; ('$(RunPostBuildEvent)'=='OnOutputUpdated' or ('$(RegisterForComInterop)'=='true' and '$(OutputType)'=='library')) was evaluated as (''=='OnOutputUpdated' or (''=='true' and 'Library'=='library')).
10:19:13         Target "ResolveAssemblyReferences" skipped. Previously built successfully.
10:19:13       1>Target "_GenerateCompileDependencyCache" in file "C:\Program Files\dotnet\sdk\8.0.407\Microsoft.Common.CurrentVersion.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "Compile" depends on it):
10:19:13         Task "Hash"
10:19:13         Done executing task "Hash".
10:19:13         Task "WriteLinesToFile"
10:19:13           Skipping write to file "obj\Debug\net8.0\my_csproj_filename.csproj.CoreCompileInputs.cache" because content would not change.
10:19:13         Done executing task "WriteLinesToFile".
10:19:13       1>Done building target "_GenerateCompileDependencyCache" in project "my_csproj_filename.csproj".
10:19:13         Target "_ComputeNonExistentFileProperty" skipped, due to false condition; (('$(BuildingInsideVisualStudio)' == 'true') and ('$(BuildingOutOfProcess)' != 'true') and (('$(BuildingProject)' == 'false') or ('$(UseHostCompilerIfAvailable)' == 'true'))) was evaluated as (('' == 'true') and ('' != 'true') and (('true' == 'false') or ('true' == 'true'))).
10:19:13         Target "ResolveCodeAnalysisRuleSet" skipped, due to false condition; ('$(CodeAnalysisRuleSet)' != '') was evaluated as ('' != '').
10:19:13         Target "ShimReferencePathsWhenCommonTargetsDoesNotUnderstandReferenceAssemblies" skipped, due to false condition; ('@(ReferencePathWithRefAssemblies)' == '') was evaluated as ('C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.CSharp.dll;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.VisualBasic.Core.dll;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.VisualBasic.dll;...' == '').
10:19:13       1>Target "_BeforeVBCSCoreCompile" in file "C:\Program Files\dotnet\sdk\8.0.407\Roslyn\Microsoft.Managed.Core.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13       1>Done building target "_BeforeVBCSCoreCompile" in project "my_csproj_filename.csproj".
10:19:13         Target "AdjustDefaultPlatformTargetForNetFrameworkExeWithNoNativeCopyLocalItems" skipped, due to false condition; ('$(_UsingDefaultPlatformTarget)' == 'true' and
10:19:13                              '$(_UsingDefaultRuntimeIdentifier)' == 'true') was evaluated as ('true' == 'true' and
10:19:13                              '' == 'true').
10:19:13         Target "_DisableDiagnosticTracing" skipped, due to false condition; ('$(DisableDiagnosticTracing)' == 'true') was evaluated as ('' == 'true').
10:19:13         Target "GenerateTargetPlatformDefineConstants" skipped, due to false condition; ( '$(DisableImplicitFrameworkDefines)' != 'true' and '$(TargetPlatformIdentifier)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ) was evaluated as ( '' != 'true' and '' != '' and '.NETCoreApp' == '.NETCoreApp' and True ).
10:19:13       1>Target "GenerateNETCompatibleDefineConstants" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "AddImplicitDefineConstants" depends on it):
10:19:13       1>Done building target "GenerateNETCompatibleDefineConstants" in project "my_csproj_filename.csproj".
10:19:13         Target "GeneratePlatformCompatibleDefineConstants" skipped, due to false condition; ( '$(DisableImplicitFrameworkDefines)' != 'true' and '$(TargetPlatformIdentifier)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) ) was evaluated as ( '' != 'true' and '' != '' and '.NETCoreApp' == '.NETCoreApp' and True ).
10:19:13         Target "_DisableDiagnosticTracing" skipped, due to false condition; ('$(DisableDiagnosticTracing)' == 'true') was evaluated as ('' == 'true').
10:19:13       1>Target "AddImplicitDefineConstants" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13       1>Done building target "AddImplicitDefineConstants" in project "my_csproj_filename.csproj".
10:19:13         Target "ShimReferencePathsWhenCommonTargetsDoesNotUnderstandReferenceAssemblies" skipped, due to false condition; ('@(ReferencePathWithRefAssemblies)' == '') was evaluated as ('C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.CSharp.dll;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.VisualBasic.Core.dll;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.VisualBasic.dll;...' == '').
10:19:13       1>Target "_ComputeSkipAnalyzers" in file "C:\Program Files\dotnet\sdk\8.0.407\Roslyn\Microsoft.Managed.Core.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13         Task "ShowMessageForImplicitlySkipAnalyzers" skipped, due to false condition; ('$(_ImplicitlySkipAnalyzers)' == 'true') was evaluated as ('' == 'true').
10:19:13       1>Done building target "_ComputeSkipAnalyzers" in project "my_csproj_filename.csproj".
10:19:13         Target "_SetPathMapFromSourceRoots" skipped, due to false condition; ('$(DeterministicSourcePaths)' == 'true') was evaluated as ('' == 'true').
10:19:13         Target "CreateCompilerGeneratedFilesOutputPath" skipped, due to false condition; ('$(EmitCompilerGeneratedFiles)' == 'true' and !('$(DesignTimeBuild)' == 'true' OR '$(BuildingProject)' != 'true')) was evaluated as ('false' == 'true' and !('' == 'true' OR 'true' != 'true')).
10:19:13         Target "SonarResolveReferencesMsBuild14" skipped, due to false condition; ( $(SonarQubeTempPath) != '' AND $(MSBuildToolsVersion) == '14.0') was evaluated as ( c:\my_repo_dir\.sonarqube != '' AND Current == '14.0').
10:19:13         Target "SonarResolveReferences" skipped. Previously built successfully.
10:19:13       1>Target "SonarCategoriseProject" in file "c:\my_repo_dir\.sonarqube\bin\targets\SonarQube.Integration.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "OverrideRoslynCodeAnalysisProperties" depends on it):
10:19:13         Task "Message"
10:19:13           Sonar: (my_csproj_filename.csproj) Categorizing project as test or product code...
10:19:13         Done executing task "Message".
10:19:13         Task "Message" skipped, due to false condition; ($(SonarQubeTestProject) != '') was evaluated as ( != '').
10:19:13         Task "Message" skipped, due to false condition; ($(IsFakesProject) == 'true' and $(SonarQubeExclude) == 'true') was evaluated as ( == 'true' and  == 'true').
10:19:13         Task "Message" skipped, due to false condition; ($(IsTempProject) == 'true' AND $(SonarQubeExclude)=='true') was evaluated as ( == 'true' AND =='true').
10:19:13         Task "Message" skipped, due to false condition; ($(tmpSonarHasMSTestProjectTypeGuid)=='true') was evaluated as (=='true').
10:19:13         Task "Message" skipped, due to false condition; ($(tmpSonarHasServiceTag)=='true') was evaluated as (=='true').
10:19:13         Task "Message" skipped, due to false condition; ($(tmpSonarHasTestContainerCapability)=='true') was evaluated as (=='true').
10:19:13         Assembly loaded during TaskRun: SonarScanner.MSBuild.Tasks, Version=9.2.1.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244 (location: c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll, MVID: c126d591-2c07-41fe-aa77-41006db4af0a, AssemblyLoadContext: MSBuild plugin c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll)
10:19:13         Assembly loaded during TaskRun: SonarScanner.MSBuild.Common, Version=9.2.1.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244 (location: c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Common.dll, MVID: 51cfc08c-8bf2-44a4-8430-38bfd3d2ef10, AssemblyLoadContext: MSBuild plugin c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll)
10:19:13         Using "IsTestByReference" task from assembly "c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll".
10:19:13         Task "IsTestByReference"
10:19:13           No test reference was found for the current project.
10:19:13         Done executing task "IsTestByReference".
10:19:13         Task "Message" skipped, due to false condition; ($(tmpSonarTestReferenceResult)!='') was evaluated as (!='').
10:19:13         Using "IsTestFileByName" task from assembly "c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll".
10:19:13         Task "IsTestFileByName"
10:19:13           Reading config file: c:\my_repo_dir\.sonarqube\conf\SonarQubeAnalysisConfig.xml ...
10:19:13           Commencing retry-able operation. Max wait (milliseconds): 2500, pause between tries (milliseconds): 499
10:19:13           Assembly loaded during TaskRun (SonarScanner.MSBuild.Tasks.IsTestFileByName): System.Xml.XmlSerializer, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.14\System.Xml.XmlSerializer.dll, MVID: 03f9ae0a-842f-4444-abe0-16f018741685, AssemblyLoadContext: Default)
10:19:13           Assembly loaded during TaskRun (SonarScanner.MSBuild.Tasks.IsTestFileByName): System.Diagnostics.TraceSource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.14\System.Diagnostics.TraceSource.dll, MVID: 2e7088f8-377c-49dd-86b5-0386525162e3, AssemblyLoadContext: Default)
10:19:13           Assembly loaded during TaskRun (SonarScanner.MSBuild.Tasks.IsTestFileByName): System.Collections.Specialized, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.14\System.Collections.Specialized.dll, MVID: b6841347-76c8-48ee-9df1-44ff368326e7, AssemblyLoadContext: Default)
10:19:13           Assembly loaded during TaskRun (SonarScanner.MSBuild.Tasks.IsTestFileByName): System.Reflection.Emit, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.14\System.Reflection.Emit.dll, MVID: b421f376-5b28-4d6a-9d1e-6e157567e63e, AssemblyLoadContext: Default)
10:19:13           Assembly loaded during TaskRun (SonarScanner.MSBuild.Tasks.IsTestFileByName): Microsoft.GeneratedCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (location: , MVID: cb72ddbb-c4d8-434e-bb0f-d66da70dbf72, AssemblyLoadContext: MSBuild plugin c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll)
10:19:13           Operation succeeded. Elapsed time (ms): 45
10:19:13           Read config file successfully
10:19:13           Assembly loaded during TaskRun (SonarScanner.MSBuild.Tasks.IsTestFileByName): Microsoft.GeneratedCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (location: , MVID: 6ea2a16b-fa5e-46cf-a785-07dbdd1acca7, AssemblyLoadContext: MSBuild plugin c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll)
10:19:13           The deprecated regular expression property sonar.msbuild.testProjectPattern was not set in the analysis config file. The project file name will not be checked.
10:19:13         Done executing task "IsTestFileByName".
10:19:13         Task "Message" skipped, due to false condition; ($(tmpSonarIsTestFileByNameResult)=='true') was evaluated as (False=='true').
10:19:13         Task "Message"
10:19:13           Sonar: (my_csproj_filename.csproj) categorized as MAIN project (production code).
10:19:13         Done executing task "Message".
10:19:13         Task "Message" skipped, due to false condition; ($(SonarQubeTestProject)=='true') was evaluated as (False=='true').
10:19:13       1>Done building target "SonarCategoriseProject" in project "my_csproj_filename.csproj".
10:19:13       1>Target "SonarCreateProjectSpecificDirs" in file "c:\my_repo_dir\.sonarqube\bin\targets\SonarQube.Integration.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "SonarWriteFilesToAnalyze" depends on it):
10:19:13         Using "MakeUniqueDir" task from assembly "c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll".
10:19:13         Task "MakeUniqueDir"
10:19:13         Done executing task "MakeUniqueDir".
10:19:13         Task "MakeDir"
10:19:13           Creating directory "c:\my_repo_dir\.sonarqube\conf\0".
10:19:13         Done executing task "MakeDir".
10:19:13       1>Done building target "SonarCreateProjectSpecificDirs" in project "my_csproj_filename.csproj".
10:19:13       1>Target "SonarWriteFilesToAnalyze" in file "c:\my_repo_dir\.sonarqube\bin\targets\SonarQube.Integration.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "OverrideRoslynCodeAnalysisProperties" depends on it):
10:19:13         Task "Message" skipped, due to false condition; ($(AnalysisFilesExist)!='true') was evaluated as (true!='true').
10:19:13         Task "Message"
10:19:13           Sonar: (my_csproj_filename.csproj) Number of files to analyse: 29. The list of files to be analyzed is in c:\my_repo_dir\.sonarqube\conf\0\FilesToAnalyze.txt.
10:19:13         Done executing task "Message".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13       1>Done building target "SonarWriteFilesToAnalyze" in project "my_csproj_filename.csproj".
10:19:13         Target "SonarCreateProjectSpecificDirs" skipped. Previously built successfully.
10:19:13       1>Target "OverrideRoslynCodeAnalysisProperties" in file "c:\my_repo_dir\.sonarqube\bin\targets\SonarQube.Integration.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13         Using "CallTarget" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
10:19:13         Task "CallTarget"
10:19:13       1>Target "SetRoslynCodeAnalysisProperties" in file "c:\my_repo_dir\.sonarqube\bin\targets\SonarQube.Integration.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "OverrideRoslynCodeAnalysisProperties" depends on it):
10:19:13         Using "GetAnalyzerSettings" task from assembly "c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll".
10:19:13         Task "GetAnalyzerSettings"
10:19:13           Reading config file: c:\my_repo_dir\.sonarqube\conf\SonarQubeAnalysisConfig.xml ...
10:19:13           Commencing retry-able operation. Max wait (milliseconds): 2500, pause between tries (milliseconds): 499
10:19:13           Operation succeeded. Elapsed time (ms): 39
10:19:13           Read config file successfully
10:19:13           Merging analysis settings...
10:19:13           Original ruleset not specified. Using generated ruleset at 'c:\my_repo_dir\.sonarqube\conf\Sonar-cs.ruleset'
10:19:13           Removing duplicate files: 
10:19:13           Removing duplicate files: 
10:19:13         Done executing task "GetAnalyzerSettings".
10:19:13         Task "WriteLinesToFile"
10:19:13         Done executing task "WriteLinesToFile".
10:19:13         Using "WriteProjectConfigFile" task from assembly "c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll".
10:19:13         Task "WriteProjectConfigFile"
10:19:13           Assembly loaded during TaskRun (SonarScanner.MSBuild.Tasks.WriteProjectConfigFile): Microsoft.GeneratedCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (location: , MVID: e2c42af9-34a3-451f-9999-f2b50486f2be, AssemblyLoadContext: MSBuild plugin c:\my_repo_dir\.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll)
10:19:13         Done executing task "WriteProjectConfigFile".
10:19:13         Task "Message"
10:19:13           Sonar: (my_csproj_filename.csproj) Analysis configured successfully with c:\my_repo_dir\.sonarqube\conf\0\SonarProjectConfig.xml.
10:19:13         Done executing task "Message".
10:19:13       1>Done building target "SetRoslynCodeAnalysisProperties" in project "my_csproj_filename.csproj".
10:19:13         Done executing task "CallTarget".
10:19:13       1>Done building target "OverrideRoslynCodeAnalysisProperties" in project "my_csproj_filename.csproj".
10:19:13       1>Target "SonarQubeImportBeforeInfo" in file "C:\Users\bldpssw\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore\SonarQube.Integration.ImportBefore.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13         Task "Message"
10:19:13           Sonar: (my_csproj_name) SonarQube.Integration.ImportBefore.targets was loaded
10:19:13         Done executing task "Message".
10:19:13         Task "Message"
10:19:13           Sonar: (my_csproj_filename.csproj) SonarQube analysis targets imported: true
10:19:13         Done executing task "Message".
10:19:13         Task "Message" skipped, due to false condition; ( $(AnalysisTargetsFileFound) != 'true') was evaluated as ( true != 'true').
10:19:13       1>Done building target "SonarQubeImportBeforeInfo" in project "my_csproj_filename.csproj".
10:19:13         Target "BeforeCompile" skipped. Previously built successfully.
10:19:13         Target "InitializeSourceControlInformationFromSourceControlManager" skipped. Previously built successfully.
10:19:13       1>Target "SetEmbeddedFilesFromSourceControlManagerUntrackedFiles" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.Build.Tasks.Git\build\Microsoft.Build.Tasks.Git.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_SetEmbeddedFilesFromSourceControlManagerUntrackedFiles" depends on it):
10:19:13         Using "Microsoft.Build.Tasks.Git.GetUntrackedFiles" task from assembly "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.Build.Tasks.Git\build\..\tools\core\Microsoft.Build.Tasks.Git.dll".
10:19:13         Task "Microsoft.Build.Tasks.Git.GetUntrackedFiles"
10:19:13           SourceLink: Reusing cached git repository information.
10:19:13         Done executing task "Microsoft.Build.Tasks.Git.GetUntrackedFiles".
10:19:13       1>Done building target "SetEmbeddedFilesFromSourceControlManagerUntrackedFiles" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_SetEmbeddedFilesFromSourceControlManagerUntrackedFiles" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Common\build\Microsoft.SourceLink.Common.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13       1>Done building target "_SetEmbeddedFilesFromSourceControlManagerUntrackedFiles" in project "my_csproj_filename.csproj".
10:19:13         Target "InitializeSourceControlInformation" skipped. Previously built successfully.
10:19:13       1>Target "_SetSourceLinkFilePath" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Common\build\Microsoft.SourceLink.Common.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13       1>Done building target "_SetSourceLinkFilePath" in project "my_csproj_filename.csproj".
10:19:13         Target "InitializeSourceControlInformation" skipped. Previously built successfully.
10:19:13       1>Target "_InitializeSourceRootMappedPathsFromSourceControl" in file "C:\Program Files\dotnet\sdk\8.0.407\Roslyn\Microsoft.Managed.Core.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "InitializeSourceRootMappedPaths" depends on it):
10:19:13       1>Done building target "_InitializeSourceRootMappedPathsFromSourceControl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "InitializeSourceRootMappedPaths" in file "C:\Program Files\dotnet\sdk\8.0.407\Roslyn\Microsoft.Managed.Core.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_InitializeSourceRootMappedPathsOpt" depends on it):
10:19:13         Using "Microsoft.CodeAnalysis.BuildTasks.MapSourceRoots" task from assembly "C:\Program Files\dotnet\sdk\8.0.407\Roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll".
10:19:13         Task "Microsoft.CodeAnalysis.BuildTasks.MapSourceRoots"
10:19:13         Done executing task "Microsoft.CodeAnalysis.BuildTasks.MapSourceRoots".
10:19:13       1>Done building target "InitializeSourceRootMappedPaths" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeSourceRootMappedPathsOpt" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Common\build\Microsoft.SourceLink.Common.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13       1>Done building target "_InitializeSourceRootMappedPathsOpt" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeGitHubSourceLinkUrl" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.GitHub\build\Microsoft.SourceLink.GitHub.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_InitializeGitHubSourceLinkUrl" completely.
10:19:13         No input files were specified.
10:19:13         Using "Microsoft.SourceLink.GitHub.GetSourceLinkUrl" task from assembly "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.GitHub\build\..\tools\core\Microsoft.SourceLink.GitHub.dll".
10:19:13         Task "Microsoft.SourceLink.GitHub.GetSourceLinkUrl"
10:19:13         Done executing task "Microsoft.SourceLink.GitHub.GetSourceLinkUrl".
10:19:13       1>Done building target "_InitializeGitHubSourceLinkUrl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeGitHubSourceLinkUrl" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.GitHub\build\Microsoft.SourceLink.GitHub.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_InitializeGitHubSourceLinkUrl" completely.
10:19:13         No input files were specified.
10:19:13         Task "Microsoft.SourceLink.GitHub.GetSourceLinkUrl"
10:19:13         Done executing task "Microsoft.SourceLink.GitHub.GetSourceLinkUrl".
10:19:13       1>Done building target "_InitializeGitHubSourceLinkUrl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeGitLabSourceLinkUrl" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.GitLab\build\Microsoft.SourceLink.GitLab.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_InitializeGitLabSourceLinkUrl" completely.
10:19:13         No input files were specified.
10:19:13         Using "Microsoft.SourceLink.GitLab.GetSourceLinkUrl" task from assembly "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.GitLab\build\..\tools\core\Microsoft.SourceLink.GitLab.dll".
10:19:13         Task "Microsoft.SourceLink.GitLab.GetSourceLinkUrl"
10:19:13         Done executing task "Microsoft.SourceLink.GitLab.GetSourceLinkUrl".
10:19:13       1>Done building target "_InitializeGitLabSourceLinkUrl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeGitLabSourceLinkUrl" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.GitLab\build\Microsoft.SourceLink.GitLab.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_InitializeGitLabSourceLinkUrl" completely.
10:19:13         No input files were specified.
10:19:13         Task "Microsoft.SourceLink.GitLab.GetSourceLinkUrl"
10:19:13         Done executing task "Microsoft.SourceLink.GitLab.GetSourceLinkUrl".
10:19:13       1>Done building target "_InitializeGitLabSourceLinkUrl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeAzureReposGitSourceLinkUrl" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.AzureRepos.Git\build\Microsoft.SourceLink.AzureRepos.Git.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_InitializeAzureReposGitSourceLinkUrl" completely.
10:19:13         No input files were specified.
10:19:13         Using "Microsoft.SourceLink.AzureRepos.Git.GetSourceLinkUrl" task from assembly "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.AzureRepos.Git\build\..\tools\core\Microsoft.SourceLink.AzureRepos.Git.dll".
10:19:13         Task "Microsoft.SourceLink.AzureRepos.Git.GetSourceLinkUrl"
10:19:13         Done executing task "Microsoft.SourceLink.AzureRepos.Git.GetSourceLinkUrl".
10:19:13       1>Done building target "_InitializeAzureReposGitSourceLinkUrl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeAzureReposGitSourceLinkUrl" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.AzureRepos.Git\build\Microsoft.SourceLink.AzureRepos.Git.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_InitializeAzureReposGitSourceLinkUrl" completely.
10:19:13         No input files were specified.
10:19:13         Task "Microsoft.SourceLink.AzureRepos.Git.GetSourceLinkUrl"
10:19:13         Done executing task "Microsoft.SourceLink.AzureRepos.Git.GetSourceLinkUrl".
10:19:13       1>Done building target "_InitializeAzureReposGitSourceLinkUrl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeBitbucketGitSourceLinkUrl" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Bitbucket.Git\build\Microsoft.SourceLink.Bitbucket.Git.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_InitializeBitbucketGitSourceLinkUrl" completely.
10:19:13         No input files were specified.
10:19:13         Using "Microsoft.SourceLink.Bitbucket.Git.GetSourceLinkUrl" task from assembly "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Bitbucket.Git\build\..\tools\core\Microsoft.SourceLink.Bitbucket.Git.dll".
10:19:13         Task "Microsoft.SourceLink.Bitbucket.Git.GetSourceLinkUrl"
10:19:13         Done executing task "Microsoft.SourceLink.Bitbucket.Git.GetSourceLinkUrl".
10:19:13       1>Done building target "_InitializeBitbucketGitSourceLinkUrl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_InitializeBitbucketGitSourceLinkUrl" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Bitbucket.Git\build\Microsoft.SourceLink.Bitbucket.Git.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "_GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_InitializeBitbucketGitSourceLinkUrl" completely.
10:19:13         No input files were specified.
10:19:13         Task "Microsoft.SourceLink.Bitbucket.Git.GetSourceLinkUrl"
10:19:13         Done executing task "Microsoft.SourceLink.Bitbucket.Git.GetSourceLinkUrl".
10:19:13       1>Done building target "_InitializeBitbucketGitSourceLinkUrl" in project "my_csproj_filename.csproj".
10:19:13       1>Target "_GenerateSourceLinkFile" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Common\build\Microsoft.SourceLink.Common.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "GenerateSourceLinkFile" depends on it):
10:19:13         Building target "_GenerateSourceLinkFile" completely.
10:19:13         No input files were specified.
10:19:13         Using "Microsoft.SourceLink.Common.GenerateSourceLinkFile" task from assembly "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Common\build\..\tools\core\Microsoft.SourceLink.Common.dll".
10:19:13         Task "Microsoft.SourceLink.Common.GenerateSourceLinkFile"
10:19:13           Source Link is empty, file 'obj\Debug\net8.0\my_csproj_name.sourcelink.json' does not exist.
10:19:13         Done executing task "Microsoft.SourceLink.Common.GenerateSourceLinkFile".
10:19:13       1>Done building target "_GenerateSourceLinkFile" in project "my_csproj_filename.csproj".
10:19:13       1>Target "GenerateSourceLinkFile" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.SourceLink.Common\build\Microsoft.SourceLink.Common.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13       1>Done building target "GenerateSourceLinkFile" in project "my_csproj_filename.csproj".
10:19:13         Target "GenerateGlobalUsings" skipped, due to false condition; (@(Using->Count()) != 0) was evaluated as (0 != 0).
10:19:13       1>Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzers" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\analyzers\build\Microsoft.CodeAnalysis.NetAnalyzers.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13       1>Done building target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzers" in project "my_csproj_filename.csproj".
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersDesign" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelDesign)' != '' or '$(AnalysisModeDesign)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersDocumentation" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelDocumentation)' != '' or '$(AnalysisModeDocumentation)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersGlobalization" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelGlobalization)' != '' or '$(AnalysisModeGlobalization)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersInteroperability" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelInteroperability)' != '' or '$(AnalysisModeInteroperability)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersMaintainability" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMaintainability)' != '' or '$(AnalysisModeMaintainability)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersNaming" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelNaming)' != '' or '$(AnalysisModeNaming)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersPerformance" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelPerformance)' != '' or '$(AnalysisModePerformance)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersReliability" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelReliability)' != '' or '$(AnalysisModeReliability)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersSecurity" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelSecurity)' != '' or '$(AnalysisModeSecurity)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisNetAnalyzersUsage" skipped, due to false condition; ('$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelUsage)' != '' or '$(AnalysisModeUsage)' != '')) was evaluated as ('' != 'true' and ('' != '' or '' != '')).
10:19:13         Target "_CodeAnalysisTreatWarningsAsErrors" skipped, due to false condition; ('$(DesignTimeBuild)' == 'true' OR '$(BuildingProject)' != 'true') was evaluated as ('' == 'true' OR 'true' != 'true').
10:19:13       1>Target "_ReportUpgradeNetAnalyzersNuGetWarning" in file "C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\analyzers\build\Microsoft.CodeAnalysis.NetAnalyzers.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "CoreCompile" depends on it):
10:19:13         Task "Warning" skipped, due to false condition; ('$(_NETAnalyzersNuGetAssemblyVersion)' != '' AND
10:19:13                                  '$(_NETAnalyzersSDKAssemblyVersion)' != '' AND
10:19:13                                   $(_NETAnalyzersNuGetAssemblyVersion) < $(_NETAnalyzersSDKAssemblyVersion)) was evaluated as ('' != '' AND
10:19:13                                  '8.0.0' != '' AND
10:19:13                                    < 8.0.0).
10:19:13       1>Done building target "_ReportUpgradeNetAnalyzersNuGetWarning" in project "my_csproj_filename.csproj".
10:19:13       1>Target "CoreCompile" in file "C:\Program Files\dotnet\sdk\8.0.407\Roslyn\Microsoft.CSharp.Core.targets" from project "c:\my_repo_dir\my_csproj_dir\my_csproj_filename.csproj" (target "Compile" depends on it):
10:19:13         Building target "CoreCompile" completely.
10:19:13         Input file "c:\my_repo_dir\.sonarqube\conf\cs\SonarLint.xml" is newer than output file "obj\Debug\net8.0\my_csproj_name.xml".
10:19:13         Using "Csc" task from assembly "C:\Program Files\dotnet\sdk\8.0.407\Roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll".
10:19:13         Task "Csc"
10:19:13           C:\Program Files\dotnet\dotnet.exe exec "C:\Program Files\dotnet\sdk\8.0.407\Roslyn\bincore\csc.dll" /noconfig /unsafe- /checked- /nowarn:1701,1702,1701,1702 /fullpaths /nostdlib+ /errorreport:prompt /warn:4 /doc:obj\Debug\net8.0\my_csproj_name.xml /define:TRACE;DEBUG;NET;NET8_0;NETCOREAPP;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NETCOREAPP1_0_OR_GREATER;NETCOREAPP1_1_OR_GREATER;NETCOREAPP2_0_OR_GREATER;NETCOREAPP2_1_OR_GREATER;NETCOREAPP2_2_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER /highentropyva+ /nullable:enable /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.CSharp.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.VisualBasic.Core.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.VisualBasic.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.Win32.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\Microsoft.Win32.Registry.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\mscorlib.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\netstandard.dll" /reference:C:\Users\bldpssw\.nuget\packages\newtonsoft.json\13.0.3\lib\net6.0\Newtonsoft.Json.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.AppContext.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Buffers.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Collections.Concurrent.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Collections.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Collections.Immutable.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Collections.NonGeneric.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Collections.Specialized.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ComponentModel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ComponentModel.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ComponentModel.TypeConverter.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Configuration.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Console.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Core.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Data.Common.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Data.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.Debug.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.DiagnosticSource.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.FileVersionInfo.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.Process.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.StackTrace.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.TextWriterTraceListener.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.Tools.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.TraceSource.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Drawing.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Drawing.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Dynamic.Runtime.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Formats.Asn1.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Formats.Tar.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Globalization.Calendars.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Globalization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Globalization.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.Compression.Brotli.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.Compression.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.Compression.FileSystem.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.Compression.ZipFile.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.FileSystem.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.FileSystem.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.FileSystem.DriveInfo.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.FileSystem.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.FileSystem.Watcher.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.IsolatedStorage.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.MemoryMappedFiles.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.Pipes.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.Pipes.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.IO.UnmanagedMemoryStream.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Linq.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Linq.Expressions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Linq.Parallel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Linq.Queryable.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Memory.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Http.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Http.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.HttpListener.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Mail.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.NameResolution.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.NetworkInformation.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Ping.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Quic.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Requests.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Security.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.ServicePoint.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.Sockets.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.WebClient.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.WebHeaderCollection.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.WebProxy.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.WebSockets.Client.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Net.WebSockets.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Numerics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Numerics.Vectors.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ObjectModel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.DispatchProxy.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.Emit.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.Metadata.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Reflection.TypeExtensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Resources.Reader.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Resources.ResourceManager.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Resources.Writer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.CompilerServices.Unsafe.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.CompilerServices.VisualC.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Handles.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.InteropServices.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.InteropServices.JavaScript.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.InteropServices.RuntimeInformation.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Intrinsics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Loader.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Numerics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Serialization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Serialization.Formatters.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Runtime.Serialization.Xml.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Claims.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Cryptography.Algorithms.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Cryptography.Cng.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Cryptography.Csp.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Cryptography.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Cryptography.Encoding.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Cryptography.OpenSsl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Cryptography.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Cryptography.X509Certificates.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Principal.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.Principal.Windows.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Security.SecureString.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ServiceModel.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ServiceProcess.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Text.Encoding.CodePages.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Text.Encoding.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Text.Encoding.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Text.Encodings.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Text.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Text.RegularExpressions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.Channels.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.Overlapped.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.Tasks.Dataflow.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.Tasks.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.Tasks.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.Thread.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.ThreadPool.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Threading.Timer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Transactions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Transactions.Local.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.ValueTuple.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Web.HttpUtility.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Windows.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.Linq.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.Serialization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.XDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.XmlDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.XmlSerializer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.XPath.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\System.Xml.XPath.XDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\ref\net8.0\WindowsBase.dll" /debug+ /debug:portable /filealign:512 /optimize- /out:obj\Debug\net8.0\my_csproj_name.dll /refout:obj\Debug\net8.0\refint\my_csproj_name.dll /ruleset:c:\my_repo_dir\.sonarqube\conf\Sonar-cs.ruleset /errorlog:c:\my_repo_dir\.sonarqube\out\0\Issues.json /target:library /warnaserror- /utf8output /deterministic+ /langversion:12.0 /embed:"obj\Debug\net8.0\.NETCoreApp,Version=v8.0.AssemblyAttributes.cs" /embed:obj\Debug\net8.0\my_csproj_name.AssemblyInfo.cs /analyzerconfig:c:\my_repo_dir\.editorconfig /analyzerconfig:obj\Debug\net8.0\my_csproj_name.GeneratedMSBuildEditorConfig.editorconfig /analyzerconfig:"C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\analyzers\build\config\analysislevel_8_default.globalconfig" /analyzer:C:\Users\bldpssw\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.CSharp.dll /analyzer:"C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\targets\..\analyzers\Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll" /analyzer:"C:\Program Files\dotnet\sdk\8.0.407\Sdks\Microsoft.NET.Sdk\targets\..\analyzers\Microsoft.CodeAnalysis.NetAnalyzers.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\analyzers/dotnet/cs/Microsoft.Interop.ComInterfaceGenerator.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\analyzers/dotnet/cs/Microsoft.Interop.JavaScript.JSImportGenerator.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\analyzers/dotnet/cs/Microsoft.Interop.LibraryImportGenerator.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\analyzers/dotnet/cs/Microsoft.Interop.SourceGeneration.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\analyzers/dotnet/cs/System.Text.Json.SourceGeneration.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.14\analyzers/dotnet/cs/System.Text.RegularExpressions.Generator.dll" /additionalfile:c:\my_repo_dir\.sonarqube\conf\cs\SonarLint.xml /additionalfile:c:\my_repo_dir\.sonarqube\conf\0\SonarProjectConfig.xml /additionalfile:c:\my_repo_dir\.sonarqube\conf\0\ProjectOutFolderPath.txt AnalogDto.cs BinaryDto.cs DeviceDefinitionDocumentDto.cs DriverInfoDto.cs FunctionFamilyDto.cs FunctionInstanceDto.cs PartNumberAnswerDto.cs PartNumberDto.cs PartNumberQuestionDto.cs Properties\AssemblyInfo.cs RuleDto.cs Rules\BaseRuleDto.cs Rules\DefaultRuleDto.cs Rules\DescriptionRuleDto.cs Rules\ErrorRuleDto.cs Rules\ForceRuleDto.cs Rules\HideAndForceRuleDto.cs Rules\HideRuleDto.cs Rules\ListRangeRuleDto.cs Rules\NumericRangeRuleDto.cs Rules\PartNumberDisableRuleDto.cs SettingDto.cs SettingIdDto.cs SettingsFileDto.cs SettingsNavNodeDto.cs Utilities\OrderedDictionaryConverter.cs ValueFilterDto.cs ValueIdDto.cs ValuesNavNodeDto.cs "obj\Debug\net8.0\.NETCoreApp,Version=v8.0.AssemblyAttributes.cs" obj\Debug\net8.0\my_csproj_name.AssemblyInfo.cs
10:19:13           Assembly loaded during TaskRun (Microsoft.CodeAnalysis.BuildTasks.Csc): System.IO.Pipes, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.14\System.IO.Pipes.dll, MVID: 4b174628-b5cf-474f-8f35-ac401f8023d9, AssemblyLoadContext: Default)
10:19:13           Assembly loaded during TaskRun (Microsoft.CodeAnalysis.BuildTasks.Csc): System.Threading.Overlapped, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.14\System.Threading.Overlapped.dll, MVID: f9bcf0b8-ae2e-4022-a9b7-1285fe93a9a6, AssemblyLoadContext: Default)
10:19:13           Assembly loaded during TaskRun (Microsoft.CodeAnalysis.BuildTasks.Csc): System.Security.AccessControl, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (location: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.14\System.Security.AccessControl.dll, MVID: 016c317d-6dfb-45a7-9f79-ea6c2b948fe5, AssemblyLoadContext: Default)
10:24:13  Cancelling nested steps due to timeout
10:24:13  Sending interrupt signal to process

Hi,

Thanks for the log. I’ll flag this for the experts, but if this is an ephemeral problem I’m not sure how far anyone will get.

 
Ann

Thank you. Please also forward this info - only the workaround of rebooting is ephemeral :slight_smile: After rebooting my 1st build succeeds, but my 2nd build 10 minutes later hangs even before the sonarqube begin is reached in the script! So it seems there’s something that “performing a sonarqube analysis” does that leaves some slime behind for a later build. Example output:

SessionId: 057d5870-7aa6-4b1f-8f7a-3c8a5acc1c14
Restore complete (0.5s)
  my_csproj_name succeeded (0.3s) → my_csproj_name\bin\Debug\net8.0\my_csproj_name.dll
  my_csproj_name.Tests                                              GenerateBuildDependencyFile (196.6s)
1 Like

Hello @nathschu_sel, @garepa,

How long is your build without using SonarQube?

Could you provide us a minimal project that would reproduce the issue?

I am not sure I get that, is this issue happening on your local computer or in your CI? Or maybe both?

Thank you,

The build without SonarQube typically takes under 5 seconds.

The issue occurs both on local computer and CI. (Though today as I am putting together this example project, the hang does not occur reliably like it did yesterday. Great.)

example_sonar_hang.zip (9.9 KB)

I reproduced the hang locally today with that example by running build.ps1 twice successfully and then invoking dotnet build in a separate console, where it hung indefinitely with output like this previous comment. On CI in the project I used to base this example, it hangs in the dotnet build $csprojName step associated with sonarqube analysis.

Hello @nathschu_sel,

I was able to reproduce your issue only once.
As you said, once it happened, it reproduces consistently.
After that, I killed all my dotnet processes and I was not able to reproduce it since.

Did you try to use the --disable-build-servers parameter during your builds?

1 Like

Thanks for getting back to me.

I added --disable-build-servers to every line in my build script that uses dotnet (restore, build, test, etc) and I no longer have hang issues, on CI or when running locally! Awesome!

2 Likes