Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages