1 Star 0 Fork 194

jyy conrad/ASP.NET-MVC-CMS

forked from ZKEASOFT/ASP.NET-MVC-CMS 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Release.cmd 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
Wayne 提交于 2016-03-09 08:19 . .
@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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jyyconrad/ASP.NET-MVC-CMS.git
git@gitee.com:jyyconrad/ASP.NET-MVC-CMS.git
jyyconrad
ASP.NET-MVC-CMS
ASP.NET-MVC-CMS
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385