Skip to content

Open Source project for deleting unnecessary Visual Studio files and folders, with an option for removing source control bindings as well.

Notifications You must be signed in to change notification settings

nCubed/VisualStudioCleaner

Repository files navigation

VisualStudioCleaner

Open Source project for deleting unnecessary Visual Studio files and folders, with an option for removing source control bindings as well.

Until documentation and associated downloaded file(s) are ready, VisualStudioCleaner can be used by:

  1. Downloading the source.
  2. Build the solution in Release mode.
  3. Open a command line.
  4. Configure the files and directories to be cleaned in the .config file.
  5. Execute VSCleaner.exe with the appropriate command line options.

###Examples

The default is to delete unnecessary files and directories, but not remove source control bindings:

VSCleaner.exe -d "C:\Solution\Directory"

Which is equivalent to:

VSCleaner.exe -d "C:\Solution\Directory" -o Default

To delete unnecessary files, directories, and remove source control bindings:

VSCleaner.exe -d "C:\Solution\Directory" -o All

To only remove source control bindings:

VSCleaner.exe -d "C:\Solution\Directory" -o RemoveSourceControlBindings

The options can be chained as well.

To delete unnecessary files, but not directories:

VSCleaner.exe -d "C:\Solution\Directory" -o Default|ExcludeDirectories

To delete unnecessary directories, but not files:

VSCleaner.exe -d "C:\Solution\Directory" -o Default|ExcludeFiles

To perform all actions, but not delete any directories:

VSCleaner.exe -d "C:\Solution\Directory" -o All|ExcludeDirectories

TODO: create full documentation

About

Open Source project for deleting unnecessary Visual Studio files and folders, with an option for removing source control bindings as well.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages