VsCleanerTool 1.0.0
dotnet tool install --global VsCleanerTool --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local VsCleanerTool --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=VsCleanerTool&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package VsCleanerTool --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
VsCleanerTool
A .NET tool to clean up Visual Studio generated folders (.vs, bin, obj) from project directories.
For full documentation and updates, visit our project site.
Installation
Install as a global tool:
dotnet tool install --global VsCleanerTool
Or install locally to your project:
dotnet new tool-manifest # If you don't have one
dotnet tool install VsCleanerTool
Usage
Navigate to your project directory and run:
# Preview mode - shows what would be deleted
vsclean
# Delete mode - removes the folders
vsclean --delete
# or
vsclean -d
Features
- Scans recursively from the current directory
- Identifies .vs, bin, and obj folders
- Preview mode shows which folders would be deleted
- Delete mode removes the found folders
- Checks if .vs folder is locked by Visual Studio
- Color-coded output for better readability
Building from Source
git clone [repository-url]
cd VsCleanerTool
dotnet pack
This will create a NuGet package in the ./nupkg directory.
To install the locally built package:
dotnet tool install --global --add-source ./nupkg VsCleanerTool
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 242 | 6/6/2025 |