用批处理编译*.sln工程

批处理命令:

web端

@echo off
Setlocal Enabledelayedexpansion
echo 建立日期 %date% %time%
echo 建立日期 %date%>build.log
"C:Program Files (x86)Microsoft Visual Studio2017EnterpriseCommon7IDEdevenv.exe" XinYiCloth.sln /build RELEASE /out output.log
type output.log
type output.log>>build.log
echo 完成构建

原文地址:https://www.cnblogs.com/walleyekneel/p/6618470.html