Skip to content

Scope uninstall state to SDK directory - #350

Merged
agocke merged 3 commits into
dn-vm:mainfrom
agocke:fix-directory-scoped-uninstall
Aug 9, 2026
Merged

Scope uninstall state to SDK directory#350
agocke merged 3 commits into
dn-vm:mainfrom
agocke:fix-directory-scoped-uninstall

Conversation

@agocke

@agocke agocke commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • remove installed SDK records only for the selected SDK directory
  • update only channel entries associated with that directory
  • preserve copies of the same SDK version installed elsewhere

Testing

  • dotnet test test/UnitTests/UnitTests.csproj --nologo (171 passed)

agocke added 3 commits August 8, 2026 16:48
Keep SDK records and channel state for copies of the same version installed in other directories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ee57eeb5-f628-412d-8641-f5952aef0516
Verify uninstalling one SDK copy preserves the same version and channel state in other SDK directories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ee57eeb5-f628-412d-8641-f5952aef0516
Preserve the command behavior that uninstall without --sdk-dir removes every copy of the requested SDK version.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ee57eeb5-f628-412d-8641-f5952aef0516
@agocke
agocke merged commit a1ee783 into dn-vm:main Aug 9, 2026
3 checks passed
@agocke
agocke deleted the fix-directory-scoped-uninstall branch August 9, 2026 00:02
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