Skip to content

SourceCacheContext should use temp subdirectory - #7803

Merged
zivkan merged 1 commit into
devfrom
dev-zivkan-scratch-free-package-downloads
Oct 21, 2026
Merged

zivkan merged 1 commit into
devfrom
dev-zivkan-scratch-free-package-downloads

Conversation

@zivkan

@zivkan zivkan commented Oct 20, 2026

Copy link
Copy Markdown
Member

Bug

Fixes: refactor

Description

.NET 7 added Directory.CreateTempSubdirectory. SourceCacheContext uses NuGet's "temp" directory in a few scenarios, and cleans up after itself. Use this .NET API instead. But .NET Framework has to keep using the old path, since the API doesn't exist on .NET Framework.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc. N/A

@zivkan
zivkan requested a review from a team as a code owner October 20, 2026 00:01
@zivkan
zivkan force-pushed the dev-zivkan-scratch-free-package-downloads branch from 6f9d7a8 to 8316c7e Compare October 20, 2026 23:41
@zivkan
zivkan merged commit 968553f into dev Oct 21, 2026
18 checks passed
@zivkan
zivkan deleted the dev-zivkan-scratch-free-package-downloads branch October 21, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants