Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Remove Obj And Bin
Remove Obj And Bin

Remove Obj And Bin

Preview

RemoveObjAndBin

|
30 installs
| (1) | Free
Removes obj and bin folders for the current solution or selected project directly from Visual Studio.
Download

Remove Obj And Bin

Clean generated build artifacts from the root of the currently opened Visual Studio solution.

Remove Obj And Bin scans the folder that contains the active .sln file and helps you delete generated bin and obj directories across the solution. It can also remove the solution .vs folder when you need a deeper local cleanup.

Source code repository: https://bitbucket.org/keepquesting/removeobjandbin/src/master/

Usage

Run from the Build menu

Open a solution and select: Build → Remove Bin/Obj The cleanup dialog opens with the configured path for the current solution. Review or edit the path and click Clean.

image__1.png

Run from Solution Explorer

Right-click a solution or project and select: Remove Bin/Obj

For a solution, the solution directory is used. For a project, the selected project directory is used.

image__2.png

Run from the Extensions menu

Open: Extensions → Remove Bin/Obj Available commands:

  • Run — opens the cleanup dialog.
  • Silent Run — starts cleanup immediately without opening the dialog.
  • Settings — opens extension settings.
  • About — displays extension information.

image__3.png

Settings

Open:

Extensions → Remove Bin/Obj → Settings

Default path

Defines the default cleanup directory for the current solution.

This value is stored separately for each .sln file. If no custom path is configured, the directory containing the current solution file is used.

Silent mode

Controls whether commands from the Build menu and Solution Explorer run without opening the cleanup dialog.

Silent Mode is a global setting shared by all solutions.

The explicit Run and Silent Run commands in the Extensions menu always use their corresponding modes.

Features

  • Remove all bin and obj directories from the current solution.
  • Clean only the selected project.
  • Run cleanup from the Visual Studio Build menu.
  • Run cleanup from the Solution Explorer context menu.
  • Use an editable cleanup path.
  • Run cleanup with or without a confirmation dialog.
  • Store a separate default path for each solution.
  • Use a global Silent Mode setting for all solutions.
  • Continue cleanup when individual directories cannot be removed.
  • Display cleanup results and errors in the Visual Studio Output window.
  • Report the number of removed bin and obj directories.
  • Report freed disk space and elapsed time.
  • Follow the active light or dark Visual Studio theme.

When to use it

Use this extension when stale build artifacts cause strange build, restore, designer, or IntelliSense behavior, or when you want to quickly reset generated folders before a clean rebuild.

Safety

The extension shows the detected cleanup root and asks for confirmation before deleting anything. Review the selected folder before confirming removal.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft