1 Star 0 Fork 194

20180310127凌光宇/ASP.NET-MVC-CMS

forked from ZKEASOFT/ASP.NET-MVC-CMS 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Release.cmd 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
Wayne 提交于 2016-07-06 13:41 . .
@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=ZKEASOFT.CMS.Web;ProjectName=ZKEASOFT.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=ZKEASOFT.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
@echo Release success...
@pause
goto finish
:noBuildengine
@echo no build engine.
@pause
:finish
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/lingguangyu/ASP.NET-MVC-CMS.git
git@gitee.com:lingguangyu/ASP.NET-MVC-CMS.git
lingguangyu
ASP.NET-MVC-CMS
ASP.NET-MVC-CMS
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385