A collection of useful .NET tools for developers.
artclean is a high-performance, recursive cleaning tool for .NET projects. It identifies and removes bin and obj
directories across your workspace to reclaim disk space or ensure a clean state for your builds.
By default, it automatically executes dotnet restore after cleaning to bring your projects back to a ready-to-build
state.
- Fast Recursion: Efficiently scans directories while ignoring reparse points.
- Deep Clean: Removes both
binandobjfolders. - Auto-Restore: Automatically runs
dotnet restoreto minimize downtime (can be disabled). - Native AOT: Built with Native AOT for minimal startup time and zero dependencies.
dotnet tool install --global Invex.Tools.ArtifactClean# In the repo you want to clean
artclean
# Or specify arguments / options:
artclean [path] [options]Arguments:
path: The root directory to begin the recursive search. [Default: current directory]
Options:
-n, --no-restore: Skips thedotnet restoreoperation after cleaning.-v, --verbose: Enables verbose output during the cleaning process.
Invex.Tools.ArtifactClean: Source code for theartcleantool._atom: The Atom build system project used for CI/CD and automation.
This project is licensed under the MIT License.