CleanAll 0.0.0.8-alpha

This is a prerelease version of CleanAll.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global CleanAll --version 0.0.0.8-alpha
                    
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.0.8-alpha
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CleanAll&version=0.0.0.8-alpha&prerelease
                    
nuke :add-package CleanAll --version 0.0.0.8-alpha
                    

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
1.0.0 82 11/17/2026
1.0.0-alpha 75 11/17/2026
0.0.2.18 220 7/27/2026
0.0.2.18-alpha 135 7/26/2026
0.0.2.17 153 7/21/2026
0.0.2.17-alpha 134 7/21/2026
0.0.2.16 159 5/2/2026
0.0.2.16-alpha 132 5/2/2026
0.0.1.11 386 11/14/2025
0.0.1.11-alpha 363 11/14/2025
0.0.1.10 362 11/12/2025
0.0.1.10-alpha 348 11/12/2025
0.0.0.9-alpha 267 4/4/2025
0.0.0.8-alpha 251 4/1/2025
0.0.0.7-alpha 259 4/1/2025
0.0.0.6-alpha 255 3/30/2025
0.0.0.5-alpha 238 3/30/2025
0.0.0.4-alpha 241 3/30/2025
0.0.0.3-alpha 255 3/30/2025
0.0.0.2-alpha 247 3/30/2025
Loading failed

Initial version, alpha