Remove Bin, Obj & Source Bindings From Visual Studio Project And Zip It

Before sharing Visual Studio project with others via email or uploading to development project showcasing platforms like, MSDN, it’s recommended to clean your project folder from unnecessary bin, obj, resharper, test results folders and source control bindings. If you send, for instance, source code bindings along with project files, recipient will get source control errors and eventually fail to test your code. CleanProject is an open source application that unclutters your Project folder and automtically zips only those files and folders which are required to build/compile your project. Apart from providing an option to clean files and folders in Visual Studio UI, it integrates with Windows shell context menu, letting you remove redundant Project files from right-click menu.

CleanProject adds an External Tool called Clean, Remove Source Bindings and Zip Solutions. However, if, for some reasons, it fails to add it, you can manually specify application path with arguments in External Tools accessible from Tools menu.

Once added, select it from Tools menu to remove folders/files and create ZIP file next to original Project folder. It will run the CleanProject command and show the output in Visual Studio Output console (if Use Output window option is enabled in External Tools window).


Similarly, you can use the Windows right-click context menu to quickly remove un-necessary files and folders, and zip code files.

right-click menu

Once Zip file is created, open it in Windows Explorer to verify the content of your project.

clean files

You can now easily send it to your team member or share it on MSDN without worrying about the code testing problems. CleanProject works with Visual Studio 2010 as well.

Download CleanProject

قالب وردپرس

About Alyse Kalish

Alyse Kalish
As an Associate Editor for The SalesJobInfo, Alyse is proud to prove that yes, English majors can change the world. She calls many places home, including Illinois where she grew up and the small town of Hamilton where she attended Colgate University, but she was born to be a New Yorker. In addition to being an avid writer, Alyse loves to dance, both professionally and while waiting for the subway.

Leave a Reply

Your email address will not be published. Required fields are marked *