Skip to content

Instantly share code, notes, and snippets.

@TRex22
Created March 21, 2015 21:01
Show Gist options
  • Save TRex22/e21a8674852b1b60694f to your computer and use it in GitHub Desktop.
Save TRex22/e21a8674852b1b60694f to your computer and use it in GitHub Desktop.
SuperClean VS 2013 Build Folder Clean Script
@echo off
echo A cleaning script for .NET MSBuild compiled folders - Jason Chalom 2015
echo This will delete all bin and obj folders
echo Beware!!
echo
echo First MSBUILD CLEAN will be activated.
echo Will use the location for VS 2013 MS Build Tools 32 bit X86
pause
"C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe" /t:clean
echo not implemented yet
echo This will remove all bin and obj folders found
pause
for /d /r . %%d in (bin,obj) do @if exist "%%d" rd /s/q "%%d"
@TRex22
Copy link
Author

TRex22 commented Mar 21, 2015

Needs a lot of work. Just don't have time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment