MSBUILD发布WEB站点

SET Pash=D:/Source/trunk/GoSun.C3M
SET IDEPath="D:/Program Files/Microsoft Visual Studio 10.0/Common7/IDE"
SET TargetRootFolder=D:/Source/trunk/GoSun.C3M
SET dotNetFrameworkPath=C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319

SET dotNetFrameworkDrive=c:
SET IdeDrive=d:
SET TargetFolderDrive=d:

rem============================IIS发布工程===========================
cd %dotNetFrameworkPath%
%dotNetFrameworkDrive%
msbuild %Pash%/GoSun.C3MWebService/AlarmConfig/AlarmConfig.AlarmConfigSvr/AlarmConfig.AlarmConfigSvr.csproj /t:ResolveReferences;Compile /t:_WPPCopyWebApplication /p:Configuration=Release /p:_ResolveReferenceDependencies=true /p:WebProjectOutputDir=%TargetRootFolder%/Build/Release/应用服务器/WebService/GoSun.AlarmConfigSvr >>%TargetRootFolder%/Build/Release/发布Log.txt

你可能感兴趣的:(C#编程)