forked from aspnet/AspNetSessionState
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclean.cmd
More file actions
22 lines (15 loc) · 642 Bytes
/
clean.cmd
File metadata and controls
22 lines (15 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@ECHO OFF
setlocal
set MSBUILDEXE=msbuild.exe
set cfgOption=/p:Configuration=Release
REM set cfgOption=/p:Configuration=Debug
REM set cfgOption=/p:Configuration=Debug;Release
if not "%1"=="" set cfgOption=/p:Configuration=
set logOptions=/v:n /flp:Summary;Verbosity=diag;LogFile=msbuild.log /flp1:warningsonly;logfile=msbuild.wrn /flp2:errorsonly;logfile=msbuild.err
echo Please build from VS 2015(or newer version) Developer Command Prompt
:BUILD
%MSBUILDEXE% "%~dp0\MicrosoftAspNetSessionState.msbuild" /t:Clean %logOptions% /maxcpucount /nodeReuse:false %cfgOption%%*
del /F msbuild.*
del /F msbuild.wrn
del /F msbuild.err
endlocal