Skip to content

Document NuGet lock-directory move on Linux in SDK 11.0.200 - #56781

Merged
BillWagner merged 2 commits into
mainfrom
copilot/fix-nuget-locks-directory-move
Nov 10, 2026
Merged

BillWagner merged 2 commits into
mainfrom
copilot/fix-nuget-locks-directory-move

Conversation

Copilot AI commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Starting with .NET SDK 11.0.200, NuGet moves Linux inter-process locks from /tmp/NuGetScratch{username}/locks to ~/.nuget/locks. Concurrent restores across the version boundary can lose synchronization and fail.

  • Breaking-change guidance: Explain the security rationale and mitigation: upgrade all SDKs or set a shared NUGET_SCRATCH parent directory, without the trailing locks component.
  • Discoverability: Add .NET 11 index and TOC entries, plus linked guidance in the dotnet restore reference.

Internal previews

File Preview link
docs/core/compatibility/11.md Learn preview
docs/core/compatibility/sdk/11/nuget-locks-directory-linux.md Learn preview
docs/core/compatibility/toc.yml Learn preview
docs/core/tools/dotnet-restore.md Learn preview

Build report

Copilot AI balanced review requested due to automatic review settings November 6, 2026 20:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI linked an issue Nov 6, 2026 that may be closed by this pull request
1 of 3 tasks
Copilot AI changed the title [WIP] Fix NuGet locks directory moved issue on Linux Document NuGet lock-directory move on Linux in SDK 11.0.200 Nov 6, 2026
Copilot AI requested a review from BillWagner November 6, 2026 20:52

@zivkan zivkan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@BillWagner
BillWagner marked this pull request as ready for review November 10, 2026 15:22

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ready for final review.

@BillWagner

Copy link
Copy Markdown
Member

closing and reopening for a fresh build

@BillWagner BillWagner closed this Nov 10, 2026
@BillWagner BillWagner reopened this Nov 10, 2026
@BillWagner
BillWagner enabled auto-merge (squash) November 10, 2026 15:25
@BillWagner
BillWagner merged commit 0b35f46 into main Nov 10, 2026
23 of 24 checks passed
@BillWagner
BillWagner deleted the copilot/fix-nuget-locks-directory-move branch November 10, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Breaking change]: NuGet locks directory moved on Linux

4 participants