Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 24, 2025

Backport of #11624 to release/9.5

/cc @mitchdenny @copilot

Customer Impact

Fixes a bug which makes the staging feed mechanism in the CLI break on Linux and probably macOS machines as well. Basically, NuGet doesn't do the OS translation on the globalPackagesFolder config path separator, so it ends up being something that needs to be escaped which breaks restore.

This changes what we write to this setting from .nuget\packages to .nugetpackages to sidestep this issue.

Testing

Manual, and unit test updated (found whilst dogfooding on Linux).

Risk

Low.

Regression?

Copilot AI and others added 2 commits September 24, 2025 04:39
Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
@github-actions
Copy link
Contributor Author

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 11626

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 11626"

@mitchdenny mitchdenny requested a review from joperezr September 24, 2025 04:48
@davidfowl davidfowl added the Servicing-approved Approved for servicing release label Sep 24, 2025
@davidfowl
Copy link
Member

This is good to go.I just ran into this!

@davidfowl davidfowl removed the Servicing-approved Approved for servicing release label Sep 24, 2025
@joperezr joperezr added the Servicing-approved Approved for servicing release label Sep 29, 2025
@joperezr
Copy link
Member

Completing a feature added in 9.5.0, low risk. approved.

This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants