title: How to delete "debug" and "release" folders of each project in Visual Studio
body: <p>Can someone please tell me hwo can I delete both Debug and Release folder of every project in my solution?</p>
  
  <p>I found this code in <a href="https://stackoverflow.com/questions/755382/i-want-to-delete-all-bin-and-obj-folders-to-force-all-projects-to-rebuild-everyt">this post</a> but I have no idea where should I put this!</p>
  
  <pre><code>FOR /F "tokens=*" %%G IN ('DIR /B /AD /S bin') DO RMDIR /S /Q "%%G"
  FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
  </code></pre>
  
  <p>The reason is, I have to manually close Visual Studio, remove all the debug and release folders, re open the soloution and rebuild....only then my appllication compiles and works correctly!</p>