Skip to content

Fix quoted NuGet push response-file arguments#524

Merged
PrzemyslawKlys merged 1 commit into
mainfrom
codex/nuget-response-file-quoting
Jul 12, 2026
Merged

Fix quoted NuGet push response-file arguments#524
PrzemyslawKlys merged 1 commit into
mainfrom
codex/nuget-response-file-quoting

Conversation

@PrzemyslawKlys

Copy link
Copy Markdown
Member

Summary

  • write dotnet nuget push response-file values as one raw argument per line
  • prevent quote characters from becoming part of --source, package paths, and API keys
  • cover the exact response-file content, including values containing spaces

Why

DbaClientX package publishing currently reaches dotnet nuget push with a valid NuGet.org URL, but PowerForge wraps the response-file value in quotes. The .NET CLI preserves those quote characters and rejects the source as "https://api.nuget.org/v3/index.json".

Validation

  • focused DotNetNuGetClientTests: 4 passed
  • PowerForge builds: net472, net8.0, net10.0

@PrzemyslawKlys
PrzemyslawKlys merged commit 5eae48c into main Jul 12, 2026
6 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the codex/nuget-response-file-quoting branch July 12, 2026 08:14
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.

1 participant