Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PackageSpecDependencyProvider consider the version being requested #5985

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Update PackageSpecReferenceDependencyProvider.cs

59e82dd
Select commit
Loading
Failed to load commit list.
Open

Make PackageSpecDependencyProvider consider the version being requested #5985

Update PackageSpecReferenceDependencyProvider.cs
59e82dd
Select commit
Loading
Failed to load commit list.
Azure Pipelines / NuGet.Client CI succeeded Sep 4, 2024 in 11m 56s

Build #20240902.1 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 94,803 (98.63%)
  • Other: 1,311 (1.36%)
  • Total: 96,115

Annotations

Check failure on line 1 in NuGet.Packaging.Test.PackageExtraction.ZipArchiveExtensionsTests.UpdateFileTimeFromEntry_FileBusyForShortTime_Retries

See this annotation in the file changed.

@azure-pipelines azure-pipelines / NuGet.Client CI

NuGet.Packaging.Test.PackageExtraction.ZipArchiveExtensionsTests.UpdateFileTimeFromEntry_FileBusyForShortTime_Retries

System.IO.IOException : The process cannot access the file 'C:\Users\cloudtest\AppData\Local\Temp\tmp1577.tmp' because it is being used by another process.
Raw output
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle)
   at System.IO.File.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)
   at NuGet.Packaging.ZipArchiveExtensions.Testable.UpdateFileTimeEntry(String fileFullPath, DateTime dateTime) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Packaging\PackageExtraction\ZipArchiveExtensions.cs:line 135
   at NuGet.Packaging.ZipArchiveExtensions.Testable.UpdateFileTimeFromEntry(ZipArchiveEntry entry, String fileFullPath, ILogger logger) in D:\a\_work\1\s\src\NuGet.Core\NuGet.Packaging\PackageExtraction\ZipArchiveExtensions.cs:line 110
   at NuGet.Packaging.Test.PackageExtraction.ZipArchiveExtensionsTests.UpdateFileTimeFromEntry_FileBusyForShortTime_Retries() in D:\a\_work\1\s\test\NuGet.Core.Tests\NuGet.Packaging.Test\PackageExtraction\ZipArchiveExtensionsTests.cs:line 53