A collection of small, focused .NET developer tools. The repository currently
ships ArtifactClean, exposed as the artclean .NET global tool.
artclean cleans a .NET workspace by:
- Running
dotnet cleanin the selected directory. - Recursively deleting directories named
binandobj. - Running
dotnet restoreunless restoration is disabled.
It skips symbolic links, junctions, and other reparse points while traversing the directory tree. Inaccessible directories are skipped, while failures to delete a matching directory are reported. Deletion is permanent, so select the root path carefully.
Install the latest published version as a global tool:
dotnet tool install --global Invex.Tools.ArtifactCleanUpdate an existing installation:
dotnet tool update --global Invex.Tools.ArtifactCleanClean the current directory:
artcleanClean a specific workspace:
artclean --path "path/to/workspace"Show each deleted directory and the output from the dotnet commands:
artclean --verboseSkip the restore step after cleaning:
artclean --no-restoreThe complete command syntax is:
artclean [options]
-p, --path <directory> Root directory to clean (default: current directory)
-n, --no-restore Do not run dotnet restore after cleaning
-v, --verbose Show detailed cleanup and dotnet command output
dotnet clean and dotnet restore are run with the selected directory as
their working directory. The tool requires the dotnet command to be
available on PATH.
The tool targets .NET 8 and .NET 10. Published .NET 10 packages include Native AOT assets for:
- Windows x64 and ARM64
- Linux x64 and ARM64
- macOS x64 and ARM64
| Path | Purpose |
|---|---|
src/Invex.Tools.ArtifactClean |
Source for the artclean tool |
_atom |
Atom build definition used to generate CI and release workflows |
docs |
DocFX source for the project documentation |
Invex.Tools.slnx |
Repository solution |
This project is available under the MIT License.