88 lines
5.7 KiB
Batchfile
88 lines
5.7 KiB
Batchfile
|
||
@echo off
|
||
cd /d "%~dp0"
|
||
echo -------------------------------------------------
|
||
echo ŐýÔںϲ˘Ŕŕżâ...
|
||
|
||
set Program_ILMerge="%systemdrive%\Program Files (x86)\Microsoft\ILMerge\"ILMerge.exe
|
||
if not exist %Program_ILMerge% set Program_ILMerge="%systemdrive%\Program Files\Microsoft\ILMerge\"ILMerge.exe
|
||
if not exist %Program_ILMerge% goto Event_ILMergeError
|
||
%Program_ILMerge% /ndebug /target:library /targetplatform:v4 /out:RealEstate.AppService\bin\RealEstate.FrameWork.Service.dll /log RealEstate.AppService\bin\CoreFrameWork.Service.dll RealEstate.AppService\bin\FrameWork.Service.dll >nul
|
||
|
||
%Program_ILMerge% /ndebug /target:library /targetplatform:v4 /out:RealEstate.AppWebSite\bin\RealEstate.FrameWork.WebSite.dll /log RealEstate.AppWebSite\bin\RealEstate.Identity.Service.dll RealEstate.AppWebSite\bin\CoreFrameWork.WebSite.dll RealEstate.AppWebSite\bin\FrameWork.WebSite.dll RealEstate.AppWebSite\bin\RealEstate.Identity.WebSite.dll RealEstate.AppWebSite\bin\RealEstate.NetworkDeployed.Service.dll RealEstate.AppWebSite\bin\RealEstate.ToolKits.WebSite.dll RealEstate.AppWebSite\bin\RealEstate.SoftWare.WebSite.dll>nul
|
||
|
||
%Program_ILMerge% /ndebug /target:library /targetplatform:v4 /copyattrs:False /allowMultiple:True /out:RealEstate.AppWebSite\bin\RealEstate.FrameWork.dll /log RealEstate.AppWebSite\bin\CoreFrameWork.Business.dll RealEstate.AppWebSite\bin\CoreFrameWork.Model.dll RealEstate.AppWebSite\bin\CoreFrameWork.References.dll RealEstate.AppWebSite\bin\FrameWork.Business.dll RealEstate.AppWebSite\bin\FrameWork.Model.dll RealEstate.AppWebSite\bin\FrameWork.References.dll RealEstate.AppWebSite\bin\RealEstate.Identity.dll RealEstate.AppWebSite\bin\RealEstate.NetworkDeployed.dll>nul
|
||
|
||
%Program_ILMerge% /ndebug /target:library /targetplatform:v4 /out:RealEstate.AppService\bin\RealEstate.WorkFlow.Service.dll /log RealEstate.AppService\bin\WorkFlow.Instance.Service.dll RealEstate.AppService\bin\WorkFlow.Support.Service.dll >nul
|
||
|
||
%Program_ILMerge% /ndebug /target:library /targetplatform:v4 /out:RealEstate.AppWebSite\bin\RealEstate.WorkFlow.dll /log RealEstate.AppWebSite\bin\WorkFlow.Support.Model.dll RealEstate.AppWebSite\bin\WorkFlow.Support.References.dll RealEstate.AppWebSite\bin\WorkFlow.Support.Business.dll RealEstate.AppWebSite\bin\WorkFlow.Instance.Model.dll RealEstate.AppWebSite\bin\WorkFlow.Instance.References.dll RealEstate.AppWebSite\bin\WorkFlow.Instance.Business.dll>nul
|
||
|
||
::del RealEstate.AppService\bin\CoreFrameWork.Service.dll
|
||
::del RealEstate.AppService\bin\FrameWork.Service.dll
|
||
::del RealEstate.AppService\bin\WorkFlow.Instance.Service.dll
|
||
::del RealEstate.AppService\bin\WorkFlow.Support.Service.dll
|
||
|
||
::if exist RealEstate.AppService\bin\WorkFlow.Support.Model.dll del RealEstate.AppService\bin\WorkFlow.Support.Model.dll
|
||
::if exist RealEstate.AppService\bin\WorkFlow.Support.References.dll del RealEstate.AppService\bin\WorkFlow.Support.References.dll
|
||
::if exist RealEstate.AppService\bin\WorkFlow.Support.Business.dll del RealEstate.AppService\bin\WorkFlow.Support.Business.dll
|
||
::if exist RealEstate.AppService\bin\WorkFlow.Instance.Model.dll del RealEstate.AppService\bin\WorkFlow.Instance.Model.dll
|
||
::if exist RealEstate.AppService\bin\WorkFlow.Instance.References.dll del RealEstate.AppService\bin\WorkFlow.Instance.References.dll
|
||
::if exist RealEstate.AppService\bin\WorkFlow.Instance.Business.dll del RealEstate.AppService\bin\WorkFlow.Instance.Business.dll
|
||
|
||
::del RealEstate.AppWebSite\bin\RealEstate.Identity.Service.dll
|
||
::del RealEstate.AppWebSite\bin\CoreFrameWork.WebSite.dll
|
||
::del RealEstate.AppWebSite\bin\FrameWork.WebSite.dll
|
||
::del RealEstate.AppWebSite\bin\RealEstate.Identity.WebSite.dll
|
||
::del RealEstate.AppWebSite\bin\RealEstate.NetworkDeployed.Service.dll
|
||
::del RealEstate.AppWebSite\bin\RealEstate.ToolKits.WebSite.dll
|
||
::del RealEstate.AppWebSite\bin\RealEstate.SoftWare.WebSite.dll
|
||
|
||
::del RealEstate.AppWebSite\bin\CoreFrameWork.Business.dll
|
||
::del RealEstate.AppWebSite\bin\CoreFrameWork.Model.dll
|
||
::del RealEstate.AppWebSite\bin\CoreFrameWork.References.dll
|
||
::del RealEstate.AppWebSite\bin\FrameWork.Business.dll
|
||
::del RealEstate.AppWebSite\bin\FrameWork.Model.dll
|
||
::del RealEstate.AppWebSite\bin\FrameWork.References.dll
|
||
::del RealEstate.AppWebSite\bin\RealEstate.Identity.dll
|
||
::del RealEstate.AppWebSite\bin\RealEstate.NetworkDeployed.dll
|
||
|
||
::if exist RealEstate.AppWebSite\bin\WorkFlow.Support.Model.dll del RealEstate.AppWebSite\bin\WorkFlow.Support.Model.dll
|
||
::if exist RealEstate.AppWebSite\bin\WorkFlow.Support.References.dll del RealEstate.AppWebSite\bin\WorkFlow.Support.References.dll
|
||
::if exist RealEstate.AppWebSite\bin\WorkFlow.Support.Business.dll del RealEstate.AppWebSite\bin\WorkFlow.Support.Business.dll
|
||
::if exist RealEstate.AppWebSite\bin\WorkFlow.Instance.Model.dll del RealEstate.AppWebSite\bin\WorkFlow.Instance.Model.dll
|
||
::if exist RealEstate.AppWebSite\bin\WorkFlow.Instance.References.dll del RealEstate.AppWebSite\bin\WorkFlow.Instance.References.dll
|
||
::if exist RealEstate.AppWebSite\bin\WorkFlow.Instance.Business.dll del RealEstate.AppWebSite\bin\WorkFlow.Instance.Business.dll
|
||
|
||
echo ÇĺŔíżŐÎÄźţźĐ...
|
||
::for /f "tokens=*" %%a in ('dir /b /ad /s %cd%\RealEstate.AppService^|sort /r') do rd "%%a" /q 2>nul
|
||
::for /f "tokens=*" %%a in ('dir /b /ad /s %cd%\RealEstate.AppWebSite^|sort /r') do rd "%%a" /q 2>nul
|
||
|
||
|
||
echo -------------------------------------------------
|
||
echo ÍęłÉ
|
||
|
||
goto Event_Command_Exit
|
||
|
||
|
||
::========================˝áĘřÍËłö============================
|
||
:Event_ILMergeError
|
||
start mshta vbscript:msgbox("Ç밲װILMergeşóŁŹÔŮÖ´ĐиòŮ×÷ĄŁ",0,"łŹÍźČíźţ")(window.close)
|
||
|
||
:Event_Command_Exit
|
||
set CommandType=%1%
|
||
if /i not "%CommandType%" == "" goto Command_End
|
||
|
||
echo -------------------------------------------------
|
||
for /L %%a in (
|
||
3,-1,1
|
||
) do (
|
||
echo %%a ĂëÖÓşóšŘąŐ...
|
||
ping localhost -n 2 >nul
|
||
)
|
||
@echo on
|
||
:Command_End
|
||
|
||
|
||
|
||
|