Skip to content

fix(commands): refresh Solution Explorer after cleaning bin/obj#34

Merged
CalvinAllen merged 1 commit into
mainfrom
fix/commands/refresh-solution-explorer
May 14, 2026
Merged

fix(commands): refresh Solution Explorer after cleaning bin/obj#34
CalvinAllen merged 1 commit into
mainfrom
fix/commands/refresh-solution-explorer

Conversation

@CalvinAllen
Copy link
Copy Markdown
Collaborator

Summary

  • Sends the standard VSStd97CmdID.Refresh command to each cleaned project's IVsUIHierarchy after deleting bin/obj.
  • Same code path as right-click → Refresh, so stale "Show All Files" nodes disappear without an unload/reload.
  • No Solution Explorer selection change, no visible collapse/expand flash.

Test plan

  • Open a solution with Show All Files enabled on a project that has built bin/obj content.
  • Run Super Clean on the solution — verify the bin/obj nodes disappear from Solution Explorer immediately (no unload/reload needed).
  • Run Super Clean on a single project — verify the same.
  • Verify Web Site projects are still skipped with the existing notification.
  • Verify the active Solution Explorer selection is unchanged after Super Clean completes.

Resolves #33

Sends the standard Refresh command to each cleaned project's
IVsUIHierarchy so stale nodes disappear from Solution Explorer
without requiring an unload/reload, particularly under "Show All
Files".
@CalvinAllen CalvinAllen merged commit 20573af into main May 14, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the fix/commands/refresh-solution-explorer branch May 14, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

feat(commands): refresh Solution Explorer after cleaning bin/obj folders

1 participant