You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f6b7fb9
Browse filesBrowse the repository at this point in the historyBrowse files
Keep NuGet patches installed with <clear /> and NuGet.config (#284)
* Keep hosted NuGet source after <clear />
Hosted mode inserted the Socket package source (and, when the config
already had a packageSourceMapping, its mapping) directly after the
section's open tag. A config that starts the section with <clear />,
common in corporate setups, then discarded the Socket entry, so
dotnet restore failed NU1100 / NU1101 for the patched package. The
entries now land after the last <clear /> in their section.
Assisted-by: claude-code:claude-opus-5-5
* Edit the NuGet config spelling NuGet reads
NuGet reads the first of nuget.config, NuGet.config and NuGet.Config
in a directory. Hosted mode only read nuget.config and vendored mode
skipped NuGet.config, so on a case-sensitive filesystem a project
whose config used another spelling got a new nuget.config that
shadowed it. Its sources and mappings were ignored and packages from
private feeds failed to restore. Both modes now edit the existing file
in place and only create nuget.config when no spelling exists.
Assisted-by: claude-code:claude-opus-5-5
* fix(core/redirect): match NuGet section tags tolerantly for <clear /> inserts
The after-<clear /> insert found section bounds with literal
`</packageSources>` / `</packageSourceMapping>` and the mapping open tag
with a literal `<packageSourceMapping>`. A close tag with whitespace before
`>` sent the insert back ahead of the `<clear />`, which drops it; a
spaced mapping open tag authored a duplicate section. A commented-out
`<clear />` also became the anchor, splicing the Socket source inside the
comment. Match tags with the same whitespace/attribute tolerance as the
rest of the rewriter and skip comments.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NPYQfCTLY7F4eQTa8hjinL
* fix(core/redirect): slice bytes, not str, when masking comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NPYQfCTLY7F4eQTa8hjinL
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments