A dotnet tool that permanently removes all bin and obj folders from a directory's subdirectories.
To install globally, just run: dotnet tool install -g CleanAll
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\andobj\folder paths.
CleanAll MyFolder\MyProject.slnDelete all from a project's parent directory:
Use msbuild to get the bin and obj folder paths.
CleanAll MyFolder\MyProject\MyProject.csprojDelete all from the current directory and it's sub-directories:
CleanAllTest what the command would do without deleting anything (dry run):
CleanAll MyFolder --dry-run