if [%1]==[-b] set __args=/t:CleanAllProjects
if [%1]==[-p] set __args=/t:CleanPackages
if [%1]==[-c] set __args=/t:CleanPackagesCache
-call %~dp0msbuild.cmd /nologo /verbosity:minimal /clp:Summary /nodeReuse:false /flp:v=normal;LogFile=clean.log %__args%
+call %~dp0dotnet.cmd msbuild /nologo /verbosity:minimal /clp:Summary /nodeReuse:false /flp:v=normal;LogFile=clean.log %__args%
exit /b %ERRORLEVEL%
:Usage
echo -all - Cleans repository and restores it to pristine state.
echo.
echo ^If no option is specified then "clean -b" is implied.
-exit /b
\ No newline at end of file
+exit /b