Skip to content

[BUG]: Error thrown when restoring packages does not cause NuGetCommand@2 step to fail #21294

@cumpstey

Description

@cumpstey

New issue checklist

Task name

NuGetCommand

Task version

2

Issue Description

Step definition

- task: NuGetCommand@2
  inputs:
    restoreSolution: $(solution1)
    restoreDirectory: ../packages

The log contains the following exception. (The actual source of the exception is unimportant here.)

The "WriteRestoreGraphTask" task failed unexpectedly.
System.ArgumentException: '1.0.0-.04' is not a valid version string.

Nevertheless, the step is indicated to have succeeded, and following steps continue. The first indication of failure was in the build step - which failed because of missing packages.

If the Nuget restore process fails, the restore step should be marked as failed.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows Server 2022

Relevant log output

2025-09-03T09:29:33.8880487Z ##[section]Starting: System - Install NuGet packages
2025-09-03T09:29:33.8886381Z ==============================================================================
2025-09-03T09:29:33.8886485Z Task         : NuGet
2025-09-03T09:29:33.8886529Z Description  : Restore, pack, or push NuGet packages, or run a NuGet command. Supports NuGet.org and authenticated feeds like Azure Artifacts and MyGet. Uses NuGet.exe and works with .NET Framework apps. For .NET Core and .NET Standard apps, use the .NET Core task.
2025-09-03T09:29:33.8886696Z Version      : 2.259.0
2025-09-03T09:29:33.8886740Z Author       : Microsoft Corporation
2025-09-03T09:29:33.8886797Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget
2025-09-03T09:29:33.8886867Z ==============================================================================
2025-09-03T09:29:34.6885482Z [command]C:\Windows\system32\chcp.com 65001
2025-09-03T09:29:34.7076610Z Active code page: 65001
2025-09-03T09:29:34.7172981Z Detected NuGet version 6.14.0.116 / 6.14.0+0da03caba83448ee887f0f1846dd05e1f1705d45.0da03caba83448ee887f0f1846dd05e1f1705d45
2025-09-03T09:29:34.7218930Z [command]C:\hostedtoolcache\windows\NuGet\6.14.0\x64\nuget.exe sources Add -NonInteractive -Name NuGetOrg -Source https://api.nuget.org/v3/index.json -ConfigFile D:\a\1\Nuget\tempNuGet_3035.config
2025-09-03T09:29:35.9389688Z Package source with Name: NuGetOrg added successfully.
2025-09-03T09:29:35.9414907Z [command]C:\hostedtoolcache\windows\NuGet\6.14.0\x64\nuget.exe restore D:\a\1\s\NCompass.System\NCompass.System.sln -PackagesDirectory ../packages -Verbosity Detailed -NonInteractive -ConfigFile D:\a\1\Nuget\tempNuGet_3035.config
2025-09-03T09:29:36.4698979Z NuGet Version: 6.14.0.116
2025-09-03T09:29:37.2469188Z MSBuild auto-detection: using msbuild version '17.14.19.38001' from 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin'. Use option -MSBuildVersion to force nuget to use a specific version of MSBuild.
2025-09-03T09:29:37.6291306Z MSBuild P2P timeout [ms]: 192000
2025-09-03T09:29:37.6432938Z C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\bin\msbuild.exe "C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets" /t:GenerateRestoreGraphFile /nologo /nr:false /v:q /p:NuGetPropsFile="C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\3gmnfrl0.dis.nugetrestore.props" /p:NuGetRestoreTargets="C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets" /p:RestoreUseCustomAfterTargets="True" /p:DisableCheckingDuplicateNuGetItems="True" /p:RestoreTaskAssemblyFile="C:\hostedtoolcache\windows\NuGet\6.14.0\x64\nuget.exe" /p:RestoreSolutionDirectory="D:\a\1\s\NCompass.System\\" /p:RestoreConfigFile="D:\a\1\Nuget\tempNuGet_3035.config" /p:RestorePackagesPath="../packages" /p:SolutionDir="D:\a\1\s\NCompass.System\\" /p:SolutionName="NCompass.System"
2025-09-03T09:29:53.8142294Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018: The "WriteRestoreGraphTask" task failed unexpectedly. [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8143739Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018: System.ArgumentException: '1.0.0-.04' is not a valid version string. [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8154034Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018: Parameter name: value [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8155164Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at NuGet.Versioning.NuGetVersion.Parse(String value) [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8157662Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at NuGet.Commands.MSBuildRestoreUtility.GetVersion(IMSBuildItem item) [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8158668Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at NuGet.Commands.MSBuildRestoreUtility.GetPackageSpec(IEnumerable`1 items) [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8159678Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8160636Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8161571Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at NuGet.Commands.MSBuildRestoreUtility.GetDependencySpec(IEnumerable`1 items, Boolean readOnly) [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8162486Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at NuGet.Build.Tasks.WriteRestoreGraphTask.Execute() [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8163342Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8164257Z C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\va0jlwsa.5rv.nugetrestore.targets(225,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() [C:\Users\VssAdministrator\AppData\Local\Temp\NuGetScratch\g241ne4s.cou.nugetinputs.targets]
2025-09-03T09:29:53.8164748Z 
2025-09-03T09:29:53.8327819Z NuGet.CommandLine.ExitCodeException: Exception of type 'NuGet.CommandLine.ExitCodeException' was thrown.
2025-09-03T09:29:53.8328401Z    at NuGet.CommandLine.MsBuildUtility.<GetProjectReferencesAsync>d__8.MoveNext()
2025-09-03T09:29:53.8328896Z --- End of stack trace from previous location where exception was thrown ---
2025-09-03T09:29:53.8329331Z    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2025-09-03T09:29:53.8329815Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2025-09-03T09:29:53.8330297Z    at NuGet.CommandLine.RestoreCommand.<GetDependencyGraphSpecAsync>d__71.MoveNext()
2025-09-03T09:29:53.8330996Z --- End of stack trace from previous location where exception was thrown ---
2025-09-03T09:29:53.8331422Z    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2025-09-03T09:29:53.8331894Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2025-09-03T09:29:53.8332371Z    at NuGet.CommandLine.RestoreCommand.<DetermineInputsFromMSBuildAsync>d__66.MoveNext()
2025-09-03T09:29:53.8350496Z WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored.
2025-09-03T09:29:53.9968881Z Restoring NuGet package Microsoft.Bcl.AsyncInterfaces.9.0.2.
2025-09-03T09:29:53.9981357Z Restoring NuGet package Microsoft.Extensions.DependencyInjection.Abstractions.9.0.2.
2025-09-03T09:29:55.0277472Z   GET https://api.nuget.org/v3-flatcontainer/microsoft.bcl.asyncinterfaces/9.0.2/microsoft.bcl.asyncinterfaces.9.0.2.nupkg
2025-09-03T09:29:55.0287553Z   GET https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencyinjection.abstractions/9.0.2/microsoft.extensions.dependencyinjection.abstractions.9.0.2.nupkg
2025-09-03T09:29:55.0460477Z   OK https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencyinjection.abstractions/9.0.2/microsoft.extensions.dependencyinjection.abstractions.9.0.2.nupkg 19ms
2025-09-03T09:29:55.0559530Z Acquiring lock for the installation of Microsoft.Extensions.DependencyInjection.Abstractions 9.0.2
2025-09-03T09:29:55.0798203Z Acquired lock for the installation of Microsoft.Extensions.DependencyInjection.Abstractions 9.0.2
2025-09-03T09:29:55.1000824Z   OK https://api.nuget.org/v3-flatcontainer/microsoft.bcl.asyncinterfaces/9.0.2/microsoft.bcl.asyncinterfaces.9.0.2.nupkg 73ms
2025-09-03T09:29:55.1001496Z Acquiring lock for the installation of Microsoft.Bcl.AsyncInterfaces 9.0.2
2025-09-03T09:29:55.1003918Z Acquired lock for the installation of Microsoft.Bcl.AsyncInterfaces 9.0.2
2025-09-03T09:29:55.4939803Z PackageSignatureVerificationLog: PackageIdentity: Microsoft.Extensions.DependencyInjection.Abstractions.9.0.2 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:55.4979864Z PackageSignatureVerificationLog: PackageIdentity: Microsoft.Bcl.AsyncInterfaces.9.0.2 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:55.7346026Z Installed Microsoft.Bcl.AsyncInterfaces 9.0.2 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\microsoft.bcl.asyncinterfaces\9.0.2 with content hash 1CED0BGD7dCKsbe7tDhzpPB2Qdi9x35QChu6zkBEI4s0T5bDkkttGReqQnOeOfRNSxtP2WvpX6Ik/0O93XDuMw==.
2025-09-03T09:29:55.7362206Z Installed Microsoft.Extensions.DependencyInjection.Abstractions 9.0.2 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\9.0.2 with content hash MNe7GSTBf3jQx5vYrXF0NZvn6l7hUKF6J54ENfAgCO8y6xjN1XUmKKWG464LP2ye6QqDiA1dkaWEZBYnhoZzjg==.
2025-09-03T09:29:55.7400839Z Adding package 'Microsoft.Extensions.DependencyInjection.Abstractions.9.0.2' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:55.7413235Z Adding package 'Microsoft.Bcl.AsyncInterfaces.9.0.2' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:55.7616184Z Added package 'Microsoft.Bcl.AsyncInterfaces.9.0.2' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:55.7616994Z Added package 'Microsoft.Bcl.AsyncInterfaces.9.0.2' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:55.7647257Z Added package 'Microsoft.Extensions.DependencyInjection.Abstractions.9.0.2' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:55.7659212Z Added package 'Microsoft.Extensions.DependencyInjection.Abstractions.9.0.2' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:55.7660068Z Restoring NuGet package System.Diagnostics.DiagnosticSource.9.0.0.
2025-09-03T09:29:55.7660717Z Restoring NuGet package System.Buffers.4.5.1.
2025-09-03T09:29:55.7685383Z   GET https://api.nuget.org/v3-flatcontainer/system.diagnostics.diagnosticsource/9.0.0/system.diagnostics.diagnosticsource.9.0.0.nupkg
2025-09-03T09:29:55.7688071Z   GET https://api.nuget.org/v3-flatcontainer/system.buffers/4.5.1/system.buffers.4.5.1.nupkg
2025-09-03T09:29:55.7861468Z   OK https://api.nuget.org/v3-flatcontainer/system.diagnostics.diagnosticsource/9.0.0/system.diagnostics.diagnosticsource.9.0.0.nupkg 17ms
2025-09-03T09:29:55.7862312Z Acquiring lock for the installation of System.Diagnostics.DiagnosticSource 9.0.0
2025-09-03T09:29:55.7866100Z Acquired lock for the installation of System.Diagnostics.DiagnosticSource 9.0.0
2025-09-03T09:29:55.7890445Z   OK https://api.nuget.org/v3-flatcontainer/system.buffers/4.5.1/system.buffers.4.5.1.nupkg 20ms
2025-09-03T09:29:55.7891168Z Acquiring lock for the installation of System.Buffers 4.5.1
2025-09-03T09:29:55.7913753Z Acquired lock for the installation of System.Buffers 4.5.1
2025-09-03T09:29:55.8546986Z PackageSignatureVerificationLog: PackageIdentity: System.Diagnostics.DiagnosticSource.9.0.0 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:55.9612143Z Installed System.Diagnostics.DiagnosticSource 9.0.0 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.diagnostics.diagnosticsource\9.0.0 with content hash ddppcFpnbohLWdYKr/ZeLZHmmI+DXFgZ3Snq+/E7SwcdW4UnvxmaugkwGywvGVWkHPGCSZjCP+MLzu23AL5SDw==.
2025-09-03T09:29:55.9618760Z Adding package 'System.Diagnostics.DiagnosticSource.9.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:55.9756928Z Added package 'System.Diagnostics.DiagnosticSource.9.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:55.9759093Z Added package 'System.Diagnostics.DiagnosticSource.9.0.0' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:55.9769908Z Restoring NuGet package System.IO.Abstractions.22.0.14.
2025-09-03T09:29:55.9775486Z   GET https://api.nuget.org/v3-flatcontainer/system.io.abstractions/22.0.14/system.io.abstractions.22.0.14.nupkg
2025-09-03T09:29:55.9953288Z   OK https://api.nuget.org/v3-flatcontainer/system.io.abstractions/22.0.14/system.io.abstractions.22.0.14.nupkg 17ms
2025-09-03T09:29:55.9954035Z Acquiring lock for the installation of System.IO.Abstractions 22.0.14
2025-09-03T09:29:55.9959360Z Acquired lock for the installation of System.IO.Abstractions 22.0.14
2025-09-03T09:29:56.0429250Z PackageSignatureVerificationLog: PackageIdentity: System.Buffers.4.5.1 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:56.0737515Z PackageSignatureVerificationLog: PackageIdentity: System.IO.Abstractions.22.0.14 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:56.2021594Z Installed System.Buffers 4.5.1 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.buffers\4.5.1 with content hash Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==.
2025-09-03T09:29:56.2036053Z Adding package 'System.Buffers.4.5.1' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.2134070Z Added package 'System.Buffers.4.5.1' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.2134801Z Added package 'System.Buffers.4.5.1' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:56.2136546Z Restoring NuGet package System.IO.FileSystem.AccessControl.5.0.0.
2025-09-03T09:29:56.2164788Z   GET https://api.nuget.org/v3-flatcontainer/system.io.filesystem.accesscontrol/5.0.0/system.io.filesystem.accesscontrol.5.0.0.nupkg
2025-09-03T09:29:56.2209885Z Installed System.IO.Abstractions 22.0.14 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.io.abstractions\22.0.14 with content hash seKjLnYbWcD4nw8MCjECuqDjwthf9yF4WXhLkgiIb2eGtVhOPEaejQe/Gr6Sppk9KPe7ndJZMyTjDLmWdjcftQ==.
2025-09-03T09:29:56.2216232Z Adding package 'System.IO.Abstractions.22.0.14' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.2279259Z Added package 'System.IO.Abstractions.22.0.14' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.2280803Z Added package 'System.IO.Abstractions.22.0.14' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:56.2282516Z Restoring NuGet package System.Memory.4.5.5.
2025-09-03T09:29:56.2295836Z   GET https://api.nuget.org/v3-flatcontainer/system.memory/4.5.5/system.memory.4.5.5.nupkg
2025-09-03T09:29:56.2325853Z   OK https://api.nuget.org/v3-flatcontainer/system.io.filesystem.accesscontrol/5.0.0/system.io.filesystem.accesscontrol.5.0.0.nupkg 16ms
2025-09-03T09:29:56.2326461Z Acquiring lock for the installation of System.IO.FileSystem.AccessControl 5.0.0
2025-09-03T09:29:56.2329616Z Acquired lock for the installation of System.IO.FileSystem.AccessControl 5.0.0
2025-09-03T09:29:56.2465914Z   OK https://api.nuget.org/v3-flatcontainer/system.memory/4.5.5/system.memory.4.5.5.nupkg 16ms
2025-09-03T09:29:56.2466480Z Acquiring lock for the installation of System.Memory 4.5.5
2025-09-03T09:29:56.2469211Z Acquired lock for the installation of System.Memory 4.5.5
2025-09-03T09:29:56.2864020Z PackageSignatureVerificationLog: PackageIdentity: System.IO.FileSystem.AccessControl.5.0.0 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:56.3146538Z PackageSignatureVerificationLog: PackageIdentity: System.Memory.4.5.5 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:56.3918154Z Installed System.Memory 4.5.5 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.memory\4.5.5 with content hash XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==.
2025-09-03T09:29:56.3924327Z Adding package 'System.Memory.4.5.5' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.3988581Z Added package 'System.Memory.4.5.5' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.3989301Z Added package 'System.Memory.4.5.5' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:56.3991568Z Restoring NuGet package System.Numerics.Vectors.4.5.0.
2025-09-03T09:29:56.4007944Z   GET https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/4.5.0/system.numerics.vectors.4.5.0.nupkg
2025-09-03T09:29:56.4265252Z   OK https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/4.5.0/system.numerics.vectors.4.5.0.nupkg 25ms
2025-09-03T09:29:56.4267563Z Acquiring lock for the installation of System.Numerics.Vectors 4.5.0
2025-09-03T09:29:56.4299997Z Acquired lock for the installation of System.Numerics.Vectors 4.5.0
2025-09-03T09:29:56.4636288Z PackageSignatureVerificationLog: PackageIdentity: System.Numerics.Vectors.4.5.0 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:56.5306863Z Installed System.IO.FileSystem.AccessControl 5.0.0 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.io.filesystem.accesscontrol\5.0.0 with content hash SxHB3nuNrpptVk+vZ/F+7OHEpoHUIKKMl02bUmYHQr1r+glbZQxs7pRtsf4ENO29TVm2TH3AEeep2fJcy92oYw==.
2025-09-03T09:29:56.5314661Z Adding package 'System.IO.FileSystem.AccessControl.5.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.5484963Z Added package 'System.IO.FileSystem.AccessControl.5.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.5485725Z Added package 'System.IO.FileSystem.AccessControl.5.0.0' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:56.5487823Z Restoring NuGet package System.Runtime.CompilerServices.Unsafe.6.0.0.
2025-09-03T09:29:56.5506890Z   GET https://api.nuget.org/v3-flatcontainer/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg
2025-09-03T09:29:56.5747971Z   OK https://api.nuget.org/v3-flatcontainer/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg 24ms
2025-09-03T09:29:56.5748706Z Acquiring lock for the installation of System.Runtime.CompilerServices.Unsafe 6.0.0
2025-09-03T09:29:56.5760930Z Acquired lock for the installation of System.Runtime.CompilerServices.Unsafe 6.0.0
2025-09-03T09:29:56.5975964Z PackageSignatureVerificationLog: PackageIdentity: System.Runtime.CompilerServices.Unsafe.6.0.0 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:56.7062653Z Installed System.Numerics.Vectors 4.5.0 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.numerics.vectors\4.5.0 with content hash QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==.
2025-09-03T09:29:56.7068908Z Adding package 'System.Numerics.Vectors.4.5.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.7238598Z Added package 'System.Numerics.Vectors.4.5.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.7239386Z Added package 'System.Numerics.Vectors.4.5.0' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:56.7261417Z Restoring NuGet package System.Security.AccessControl.5.0.0.
2025-09-03T09:29:56.7262738Z   GET https://api.nuget.org/v3-flatcontainer/system.security.accesscontrol/5.0.0/system.security.accesscontrol.5.0.0.nupkg
2025-09-03T09:29:56.7273592Z Installed System.Runtime.CompilerServices.Unsafe 6.0.0 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.runtime.compilerservices.unsafe\6.0.0 with content hash /iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==.
2025-09-03T09:29:56.7280095Z Adding package 'System.Runtime.CompilerServices.Unsafe.6.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.7343585Z Added package 'System.Runtime.CompilerServices.Unsafe.6.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:56.7344389Z Added package 'System.Runtime.CompilerServices.Unsafe.6.0.0' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:56.7346525Z Restoring NuGet package System.Security.Principal.Windows.5.0.0.
2025-09-03T09:29:56.7359245Z   GET https://api.nuget.org/v3-flatcontainer/system.security.principal.windows/5.0.0/system.security.principal.windows.5.0.0.nupkg
2025-09-03T09:29:56.7420877Z   OK https://api.nuget.org/v3-flatcontainer/system.security.accesscontrol/5.0.0/system.security.accesscontrol.5.0.0.nupkg 15ms
2025-09-03T09:29:56.7421690Z Acquiring lock for the installation of System.Security.AccessControl 5.0.0
2025-09-03T09:29:56.7425343Z Acquired lock for the installation of System.Security.AccessControl 5.0.0
2025-09-03T09:29:56.7537534Z   OK https://api.nuget.org/v3-flatcontainer/system.security.principal.windows/5.0.0/system.security.principal.windows.5.0.0.nupkg 17ms
2025-09-03T09:29:56.7539430Z Acquiring lock for the installation of System.Security.Principal.Windows 5.0.0
2025-09-03T09:29:56.7540048Z Acquired lock for the installation of System.Security.Principal.Windows 5.0.0
2025-09-03T09:29:56.8037926Z PackageSignatureVerificationLog: PackageIdentity: System.Security.AccessControl.5.0.0 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:56.8101869Z PackageSignatureVerificationLog: PackageIdentity: System.Security.Principal.Windows.5.0.0 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:57.2415515Z Installed System.Security.AccessControl 5.0.0 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.security.accesscontrol\5.0.0 with content hash dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==.
2025-09-03T09:29:57.2425798Z Adding package 'System.Security.AccessControl.5.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.2610006Z Added package 'System.Security.AccessControl.5.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.2610994Z Added package 'System.Security.AccessControl.5.0.0' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:57.2612831Z Restoring NuGet package System.Threading.Tasks.Extensions.4.5.4.
2025-09-03T09:29:57.2626740Z   GET https://api.nuget.org/v3-flatcontainer/system.threading.tasks.extensions/4.5.4/system.threading.tasks.extensions.4.5.4.nupkg
2025-09-03T09:29:57.2705283Z Installed System.Security.Principal.Windows 5.0.0 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.security.principal.windows\5.0.0 with content hash t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==.
2025-09-03T09:29:57.2711922Z Adding package 'System.Security.Principal.Windows.5.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.2807388Z   OK https://api.nuget.org/v3-flatcontainer/system.threading.tasks.extensions/4.5.4/system.threading.tasks.extensions.4.5.4.nupkg 17ms
2025-09-03T09:29:57.2808412Z Acquiring lock for the installation of System.Threading.Tasks.Extensions 4.5.4
2025-09-03T09:29:57.2808941Z Acquired lock for the installation of System.Threading.Tasks.Extensions 4.5.4
2025-09-03T09:29:57.2975050Z Added package 'System.Security.Principal.Windows.5.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.2977284Z Added package 'System.Security.Principal.Windows.5.0.0' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:57.2977954Z Restoring NuGet package TestableIO.System.IO.Abstractions.22.0.14.
2025-09-03T09:29:57.2978537Z   GET https://api.nuget.org/v3-flatcontainer/testableio.system.io.abstractions/22.0.14/testableio.system.io.abstractions.22.0.14.nupkg
2025-09-03T09:29:57.2979295Z PackageSignatureVerificationLog: PackageIdentity: System.Threading.Tasks.Extensions.4.5.4 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:57.3210444Z   OK https://api.nuget.org/v3-flatcontainer/testableio.system.io.abstractions/22.0.14/testableio.system.io.abstractions.22.0.14.nupkg 23ms
2025-09-03T09:29:57.3211414Z Acquiring lock for the installation of TestableIO.System.IO.Abstractions 22.0.14
2025-09-03T09:29:57.3220126Z Acquired lock for the installation of TestableIO.System.IO.Abstractions 22.0.14
2025-09-03T09:29:57.3447429Z PackageSignatureVerificationLog: PackageIdentity: TestableIO.System.IO.Abstractions.22.0.14 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:57.4477562Z Installed System.Threading.Tasks.Extensions 4.5.4 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\system.threading.tasks.extensions\4.5.4 with content hash zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==.
2025-09-03T09:29:57.4503265Z Adding package 'System.Threading.Tasks.Extensions.4.5.4' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.4605853Z Added package 'System.Threading.Tasks.Extensions.4.5.4' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.4618636Z Added package 'System.Threading.Tasks.Extensions.4.5.4' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:57.4619792Z Restoring NuGet package TestableIO.System.IO.Abstractions.Wrappers.22.0.14.
2025-09-03T09:29:57.4620635Z Installed TestableIO.System.IO.Abstractions 22.0.14 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\testableio.system.io.abstractions\22.0.14 with content hash WPqOl2TVNKUMcaTyCIoJqPz1K30u8Pw6sMtRzVuaik4XDuMJLNmp7JMQQVNcVi7Ws3TvH9FlLYQRxO01z5Gixw==.
2025-09-03T09:29:57.4621472Z Adding package 'TestableIO.System.IO.Abstractions.22.0.14' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.4622134Z   GET https://api.nuget.org/v3-flatcontainer/testableio.system.io.abstractions.wrappers/22.0.14/testableio.system.io.abstractions.wrappers.22.0.14.nupkg
2025-09-03T09:29:57.4799585Z   OK https://api.nuget.org/v3-flatcontainer/testableio.system.io.abstractions.wrappers/22.0.14/testableio.system.io.abstractions.wrappers.22.0.14.nupkg 18ms
2025-09-03T09:29:57.4846181Z Acquiring lock for the installation of TestableIO.System.IO.Abstractions.Wrappers 22.0.14
2025-09-03T09:29:57.4846959Z Acquired lock for the installation of TestableIO.System.IO.Abstractions.Wrappers 22.0.14
2025-09-03T09:29:57.5000055Z Added package 'TestableIO.System.IO.Abstractions.22.0.14' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.5000832Z Added package 'TestableIO.System.IO.Abstractions.22.0.14' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:57.5003165Z Restoring NuGet package Testably.Abstractions.FileSystem.Interface.9.0.0.
2025-09-03T09:29:57.5017463Z   GET https://api.nuget.org/v3-flatcontainer/testably.abstractions.filesystem.interface/9.0.0/testably.abstractions.filesystem.interface.9.0.0.nupkg
2025-09-03T09:29:57.5164251Z PackageSignatureVerificationLog: PackageIdentity: TestableIO.System.IO.Abstractions.Wrappers.22.0.14 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:57.5178892Z   OK https://api.nuget.org/v3-flatcontainer/testably.abstractions.filesystem.interface/9.0.0/testably.abstractions.filesystem.interface.9.0.0.nupkg 16ms
2025-09-03T09:29:57.5179696Z Acquiring lock for the installation of Testably.Abstractions.FileSystem.Interface 9.0.0
2025-09-03T09:29:57.5212371Z Acquired lock for the installation of Testably.Abstractions.FileSystem.Interface 9.0.0
2025-09-03T09:29:57.5393171Z PackageSignatureVerificationLog: PackageIdentity: Testably.Abstractions.FileSystem.Interface.9.0.0 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:57.6402597Z Installed TestableIO.System.IO.Abstractions.Wrappers 22.0.14 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\testableio.system.io.abstractions.wrappers\22.0.14 with content hash w8VwX0jiDSfj5bM+BopyZszvvEnQKDTNDp9pUKYwSOj34P9GAllmJ6kcGyye2IrzctdQs3xFpg8Vdsm8TrWfgQ==.
2025-09-03T09:29:57.6408911Z Adding package 'TestableIO.System.IO.Abstractions.Wrappers.22.0.14' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.6523662Z Added package 'TestableIO.System.IO.Abstractions.Wrappers.22.0.14' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.6524659Z Added package 'TestableIO.System.IO.Abstractions.Wrappers.22.0.14' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:57.6525149Z Restoring NuGet package YamlDotNet.15.1.2.
2025-09-03T09:29:57.6525566Z   GET https://api.nuget.org/v3-flatcontainer/yamldotnet/15.1.2/yamldotnet.15.1.2.nupkg
2025-09-03T09:29:57.6641256Z Installed Testably.Abstractions.FileSystem.Interface 9.0.0 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\testably.abstractions.filesystem.interface\9.0.0 with content hash uksk86YlnzAdyfVNu3wICU0X5iXVe9LF7Q3UkngNliHWEvM5gvAlOUr+jmd9JwmbJWISH5+i1vyXE02lEVz7WQ==.
2025-09-03T09:29:57.6647449Z Adding package 'Testably.Abstractions.FileSystem.Interface.9.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.6701359Z   OK https://api.nuget.org/v3-flatcontainer/yamldotnet/15.1.2/yamldotnet.15.1.2.nupkg 18ms
2025-09-03T09:29:57.6701914Z Acquiring lock for the installation of YamlDotNet 15.1.2
2025-09-03T09:29:57.6715273Z Added package 'Testably.Abstractions.FileSystem.Interface.9.0.0' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.6715912Z Added package 'Testably.Abstractions.FileSystem.Interface.9.0.0' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:57.6728665Z Acquired lock for the installation of YamlDotNet 15.1.2
2025-09-03T09:29:57.8272414Z PackageSignatureVerificationLog: PackageIdentity: YamlDotNet.15.1.2 Source: https://api.nuget.org/v3/index.json PackageSignatureValidity: True
2025-09-03T09:29:57.9240220Z Installed YamlDotNet 15.1.2 from https://api.nuget.org/v3/index.json to C:\Users\VssAdministrator\.nuget\packages\yamldotnet\15.1.2 with content hash qeX0XhzOIcQEvnI5JxnPaIwcINwyY4Qy/LXhSfsdHkFrl9F41AT52UFfy2nIE7kgrhMg+cP7xuS+GtPJhmHmTA==.
2025-09-03T09:29:57.9246063Z Adding package 'YamlDotNet.15.1.2' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.9328742Z Added package 'YamlDotNet.15.1.2' to folder 'D:\a\1\s\packages'
2025-09-03T09:29:57.9329344Z Added package 'YamlDotNet.15.1.2' to folder 'D:\a\1\s\packages' from source 'https://api.nuget.org/v3/index.json'
2025-09-03T09:29:57.9766558Z   GET https://api.nuget.org/v3/vulnerabilities/index.json
2025-09-03T09:29:57.9928412Z   OK https://api.nuget.org/v3/vulnerabilities/index.json 13ms
2025-09-03T09:29:58.0670772Z   GET https://api.nuget.org/v3-vulnerabilities/2025.08.29.23.26.55/vulnerability.base.json
2025-09-03T09:29:58.0682600Z   GET https://api.nuget.org/v3-vulnerabilities/2025.08.29.23.26.55/2025.09.02.21.18.37/vulnerability.update.json
2025-09-03T09:29:58.0869825Z   OK https://api.nuget.org/v3-vulnerabilities/2025.08.29.23.26.55/vulnerability.base.json 19ms
2025-09-03T09:29:58.0872864Z   OK https://api.nuget.org/v3-vulnerabilities/2025.08.29.23.26.55/2025.09.02.21.18.37/vulnerability.update.json 18ms
2025-09-03T09:29:58.1654369Z 
2025-09-03T09:29:58.1655179Z NuGet Config files used:
2025-09-03T09:29:58.1655535Z     D:\a\1\Nuget\tempNuGet_3035.config
2025-09-03T09:29:58.1655723Z 
2025-09-03T09:29:58.1655988Z Feeds used:
2025-09-03T09:29:58.1656285Z     https://api.nuget.org/v3/index.json
2025-09-03T09:29:58.1663210Z 
2025-09-03T09:29:58.1663667Z Installed:
2025-09-03T09:29:58.1765058Z     16 package(s) to packages.config projects
2025-09-03T09:29:58.2086596Z 
2025-09-03T09:29:58.2266567Z ##[section]Finishing: System - Install NuGet packages

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions