forked from kerryjiang/SuperSocket.ClientEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild-SL.bat
More file actions
23 lines (15 loc) · 920 Bytes
/
Build-SL.bat
File metadata and controls
23 lines (15 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
set fdir=%WINDIR%\Microsoft.NET\Framework64
if not exist %fdir% (
set fdir=%WINDIR%\Microsoft.NET\Framework
)
set msbuild=%fdir%\v4.0.30319\msbuild.exe
%msbuild% SuperSocket.ClientEngine.SL40.sln /p:Configuration=Debug /t:Clean;Rebuild /p:OutputPath=..\bin\SL40\Debug
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
%msbuild% SuperSocket.ClientEngine.SL40.sln /p:Configuration=Release /t:Clean;Rebuild /p:OutputPath=..\bin\SL40\Release
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
%msbuild% SuperSocket.ClientEngine.SL50.sln /p:Configuration=Debug /t:Clean;Rebuild /p:OutputPath=..\bin\SL50\Debug
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
%msbuild% SuperSocket.ClientEngine.SL50.sln /p:Configuration=Release /t:Clean;Rebuild /p:OutputPath=..\bin\SL50\Release
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G"
pause