CleanAll 1.0.0-alpha
See the version list below for details.
dotnet tool install --global CleanAll --version 1.0.0-alpha
dotnet new tool-manifest
dotnet tool install --local CleanAll --version 1.0.0-alpha
#tool dotnet:?package=CleanAll&version=1.0.0-alpha&prerelease
nuke :add-package CleanAll --version 1.0.0-alpha
dotnet clean-all
A dotnet tool that permanently deletes all bin and obj folders from a C# Project or Solution.
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 correct
bin\andobj\folder paths.
CleanAll MyFolder\MyProject.slnx
Delete all from a project file:
Use msbuild to get the bin and obj folder paths.
CleanAll MyFolder\MyProject\MyProject.csproj
Delete all from the current directory (requires a solution or project file):
CleanAll
Test what the command would do without deleting anything (dry run):
CleanAll MyFolder --dry-run
Help docs:
CleanAll --help
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. net11.0 is compatible. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1-alpha | 39 | 11/24/2026 |
| 1.0.0 | 94 | 11/17/2026 |
| 1.0.0-alpha | 86 | 11/17/2026 |
| 0.0.2.18 | 221 | 7/27/2026 |
| 0.0.2.18-alpha | 135 | 7/26/2026 |
| 0.0.2.17 | 155 | 7/21/2026 |
| 0.0.2.17-alpha | 135 | 7/21/2026 |
| 0.0.2.16 | 160 | 5/2/2026 |
| 0.0.2.16-alpha | 133 | 5/2/2026 |
| 0.0.1.11 | 387 | 11/14/2025 |
| 0.0.1.11-alpha | 364 | 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 | 260 | 4/1/2025 |
| 0.0.0.6-alpha | 258 | 3/30/2025 |
| 0.0.0.5-alpha | 239 | 3/30/2025 |
| 0.0.0.4-alpha | 242 | 3/30/2025 |
| 0.0.0.3-alpha | 256 | 3/30/2025 |
- Upgrade to support .NET 10 & 11
- Upgrade to MinimalCli 3
- Upgrade to slnx file (CleanAll.sln becomes CleanAll.slnx)
- Upgrade CI/CD
- Modify clean command to only support Solution files and Project files
- Adjust docs