[导入]DOS命令编译多个.NET 3.5项目的批处理文件

@cd WebPortal
%SystemRoot%\Microsoft.NET\Framework\v3.5\MSBuild.exe WebPortal.sln /property:Configuration=Debug /l:FileLogger,Microsoft.Build.Engine;logfile=MAMWebPortal.log
@echo Close notepad to continue...
@find "    0 Error(s)" WebPortal.log
@if errorlevel 1 call ..\notepad_build_info.bat MAMWebPortal.log
@cd ..

@echo 复制某些运行

xcopy ..\Release_Env\Service\xxxx.DCMPService.dll ..\Release_Env\App_Server\ /s /h /d /y
x

阅读全文
类别:Dotnet 查看评论
文章来源:http://hi.baidu.com/crazybird%5Faip/blog/item/dc409d00e6d2cf17738b6571.html
posted @ 2008-07-16 16:51  CrazyBird  阅读(285)  评论(0编辑  收藏  举报