@echo off :: Clean Build VCC set _CL_= set VCC_CONFIG=Release if exist "%VSINSTALLDIR%\MSBuild\Current\Bin\MSBuild.exe" ( msbuild vcc.sln /t:Clean /p:Configuration=%VCC_CONFIG% /p:Platform=x86 call Build.bat ) else ( echo Build must be run from Developer Command Prompt for VS 2022 )