ソースを参照

Added batch file for running 'GenerateReleasePackage'

ArnoldZokas 15 年 前
コミット
42e8ec7fd3
3 ファイル変更15 行追加1 行削除
  1. 0 1
      build/BuildAll.bat
  2. 14 0
      build/GenerateReleasePackage.bat
  3. 1 0
      build/build.csproj

+ 0 - 1
build/BuildAll.bat

@@ -4,7 +4,6 @@
 IF ERRORLEVEL 1 GOTO END
 
 :SILVERLIGHT2
-ECHO RONG!
 %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Debug_Silverlight2
 
 :END

+ 14 - 0
build/GenerateReleasePackage.bat

@@ -0,0 +1,14 @@
+:BEGIN
+@ECHO OFF
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Release
+IF ERRORLEVEL 1 GOTO END
+
+:SILVERLIGHT2
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Release_Silverlight2
+IF ERRORLEVEL 1 GOTO END
+
+:GENERATE_PACKAGE
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:GeneratePackage /p:PackageScope=ReleaseBinaries
+
+:END
+PAUSE

+ 1 - 0
build/build.csproj

@@ -23,5 +23,6 @@
 	<!-- targets -->
 	<Target Name="Build" DependsOnTargets="_Compile" />
 	<Target Name="RunBenchmarks" DependsOnTargets="_Compile" />
+	<Target Name="GeneratePackage" />
 
 </Project>