A while ago I lamented that the “Clean Project” button in VS.NET did nothing for .NET projects. I thought that it would be nice to have something that would empty the bin, obj, and setup folders of crusty stuff, or just nuke it if you plan on zipping your source to email to some one. There is really no need to send that stuff since the compiler will generate it all again later.

So I whipped up a little application called CleanSources that will do just that. The application will place a contextual menu when you right-click on a folder and it will then recursively go through and get rid of that stuff.

update: you really shuold get Jeff Atwood’s Clean Sources Plus. It’s much bettter than mine :-).

Comments (4)

  1. Uwe Keim says:

    Nice tool! Seems that now I’m not anymore the only person in the world that implemented an IContextMenu handler in .NET. Now we are already two 🙂

  2. Omar Shahine says:

    Not really, I was scared by IContextMenu. I just used the registry to add the menu item.