CleanAll 0.0.1.11

dotnet tool install --global CleanAll --version 0.0.1.11
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local CleanAll --version 0.0.1.11
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CleanAll&version=0.0.1.11
                    
nuke :add-package CleanAll --version 0.0.1.11
                    

dotnet clean-all

A dotnet tool that permanently removes all bin and obj folders from a directory's subdirectories.

Installation

To install globally, just run: dotnet tool install -g CleanAll

Usage

Delete all the bin\ and obj\ folders from all the projects in a solution:

Attempt to read the solution file, iterate through the projects and use msbuild to get the bin\ and obj\ folder paths.

CleanAll MyFolder\MyProject.sln

Delete all from a project's parent directory:

Use msbuild to get the bin and obj folder paths.

CleanAll MyFolder\MyProject\MyProject.csproj

Delete all from the current directory and it's sub-directories:

CleanAll

Test what the command would do without deleting anything (dry run):

CleanAll MyFolder --dry-run
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.0.1.11 270 11/14/2025
0.0.1.11-alpha 262 11/14/2025
0.0.1.10 275 11/12/2025
0.0.1.10-alpha 265 11/12/2025
0.0.0.9-alpha 201 4/4/2025
0.0.0.8-alpha 192 4/1/2025
0.0.0.7-alpha 191 4/1/2025
0.0.0.6-alpha 185 3/30/2025
0.0.0.5-alpha 173 3/30/2025
0.0.0.4-alpha 176 3/30/2025
0.0.0.3-alpha 176 3/30/2025
0.0.0.2-alpha 176 3/30/2025
0.0.0.1-alpha 185 3/30/2025

Initial version, alpha