Is there any way I can clean a VS solution completely? By completely I mean not just removing the current output for the projects built by the Active configuration. I mean cleaning out all output and intermediate files, for all build configurations.
Even after I change build output paths, I want to delete the ouput from the previous output paths.
Example scenario: I check out a source tree and make a release build, then a debug build. Now I have \bin\Debug directories and bin\Release directories, as well as \obj directories. I then want to clean the output for both configurations.
Maybe Subversion is a better tool for this, e.g. delete everything that isn't under source control? Otherwise, I suppose a batch file that cleans out obj, bin and TestResults directories recursively could do it, and I could bind a VS menu item to this tool.
I'm using SVN 1.7 and VS 2012.
Has anyone already created such a tool using VS, SVN, PowerShell or a windows batch file?