代码拉取完成,页面将自动刷新
同步操作将从 ZKEASOFT/ASP.NET-MVC-CMS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
@echo off
@IF NOT EXIST %windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe (GOTO :noBuildengine) ELSE GOTO :execute
:execute
rd /S /Q Release
%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe ZKEASOFT.CMS.Web.sln /p:Configuration=Release;PrecompileBeforePublish=true;
%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe Release.xml /p:Configuration=Release;SolutionName=Easy.CMS.Web;ProjectName=Easy.CMS.Web.csproj;ProjectPath=Easy.CMS.Web;ReleasePath=Release\Application /v:m
for /f %%a in ('dir Easy.CMS.Web\Modules /b') do (
cd Easy.CMS.Web\Modules\%%a
for /f %%b in ('dir /b *.csproj') do (
cd ../../../
%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe Release.xml /p:Configuration=Release;SolutionName=Easy.CMS.Web;ProjectName=%%b;ProjectPath=Easy.CMS.Web\Modules\%%a;ReleasePath=Release\Application\Modules\%%a\ /v:m
)
)
@echo Release Success
for /f %%a in ('dir Release\Application\Modules /b') do (
xcopy Release\Application\Modules\%%a\bin\Easy.CMS.%%a.dll Release\Application\bin /S /F /Y
@echo Delete Release\Application\Modules\%%a\bin
rd /S /Q Release\Application\Modules\%%a\bin
@echo Delete Release\Application\Modules\%%a\*.config
del Release\Application\Modules\%%a\*.config
@echo Delete Release\Application\Modules\%%a\*.xml
del Release\Application\Modules\%%a\*.xml
)
xcopy DataBase Release\DataBase\ /S /F /Y
del Release\DataBase\Append_GO.cmd
@echo Release success...
@pause
goto finish
:noBuildengine
@echo no build engine.
@pause
:finish
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。