How to delete all created binaries in Visual Studio 2008

I am not sure if the description of the subject is correctly indicated, but basically this is what I want to achieve:

I want to delete all binary files such as .exe, .dll that need to be deleted with one click. There may be plugins that will allow me to do the same, but just wondering if something like that exists.

The reason I want to do this is to make sure that all such temporary created files that are usually not needed for version control of the project are deleted before committing to the repository.

+3
source share
2 answers

In the Build menu, click Clean Solution.

Or, right click on the solution and click Clean Solution

Take a look

What does the Clean Solution do in the Build menu in Visual Studio?

A practical guide. Assembly preparation and management

+3
source

Well, maybe you can do it manually. create a batch file called, for example, Clean.bat

and paste into it:

del yoursolutionfolder *.pdb *.exe *.obj /s

and call it whenever you want to clear the solution.

+2
source

Source: https://habr.com/ru/post/1773222/


All Articles