You know, the one that outputs this=>
------ Clean started: Project: Foo.Bar, Configuration: Debug Any CPU ------
========== Clean: 1 succeeded, 0 failed, 0 skipped ==========
What it is cleaning?
Cleaning removes dirt, dust, crumbs, and germs from surfaces or objects. When you clean, you will likely use soap (or detergent) and water to physically clean off the surfaces and objects. This may not necessarily kill the germs.
For a multi-project solution, "rebuild solution" does a "clean" followed by a "build" for each project (possibly in parallel). Whereas a "clean solution" followed by a "build solution" first cleans all projects (possibly in parallel) and then builds all projects (possibly in parallel).
With your project open in Visual Studio, choose Build menu > Clean Solution. This removes all compiled assemblies (.exe, . dll files) and object (. obj) files from your projects, but does not remove the debugging files.
The output directories - it removes the code that it's previously built.
It doesn't remove the bin/obj directories themselves (or the Debug/Release directories beneath them), just the actual .exe, .dll, etc files. Unfortunately this makes it less useful for my usual use of cleaning up output directories: when I want to zip up the source code. As the Clean action doesn't do this, I usually just delete the bin and obj directories directly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With