diff --git a/src/BuildAll.cmd b/src/BuildAll.cmd index 3977c5fa..2ceec531 100644 --- a/src/BuildAll.cmd +++ b/src/BuildAll.cmd @@ -24,9 +24,7 @@ if exist "%BATCH_DIR_NAME%\bin\BuildUtil.exe" ( del "%BATCH_DIR_NAME%\bin\BuildUtil.exe" ) -C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe /toolsversion:3.5 /verbosity:detailed /target:Clean /property:Configuration=Debug "%BATCH_DIR_NAME%\BuildUtil\BuildUtil.csproj" - -C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe /toolsversion:3.5 /verbosity:detailed /target:Rebuild /property:Configuration=Debug "%BATCH_DIR_NAME%\BuildUtil\BuildUtil.csproj" +C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe /toolsversion:3.5 /target:Clean;Rebuild /property:Configuration=Debug "%BATCH_DIR_NAME%\BuildUtil\BuildUtil.csproj" cd %BATCH_DIR_NAME%\bin diff --git a/src/BuildUtil/Win32BuildUtil.cs b/src/BuildUtil/Win32BuildUtil.cs index a6172f15..e3b85cd2 100644 --- a/src/BuildUtil/Win32BuildUtil.cs +++ b/src/BuildUtil/Win32BuildUtil.cs @@ -627,19 +627,19 @@ namespace BuildUtil StreamWriter bat = new StreamWriter(batFileName, false, Str.ShiftJisEncoding); bat.WriteLine("call \"{0}\"", Paths.VisualStudioVCBatchFileName); bat.WriteLine("echo on"); - bat.WriteLine("\"{0}\" /toolsversion:3.5 /verbosity:detailed /target:Clean /property:Configuration=Release /property:Platform=Win32 \"{1}\"", + bat.WriteLine("\"{0}\" /toolsversion:3.5 /target:Clean /property:Configuration=Release /property:Platform=Win32 \"{1}\"", Paths.MSBuildFileName, Paths.VPN4SolutionFileName); bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR"); - bat.WriteLine("\"{0}\" /toolsversion:3.5 /verbosity:detailed /target:Clean /property:Configuration=Release /property:Platform=x64 \"{1}\"", + bat.WriteLine("\"{0}\" /toolsversion:3.5 /target:Clean /property:Configuration=Release /property:Platform=x64 \"{1}\"", Paths.MSBuildFileName, Paths.VPN4SolutionFileName); bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR"); - bat.WriteLine("\"{0}\" /toolsversion:3.5 /verbosity:detailed /target:Rebuild /property:Configuration=Release /property:Platform=Win32 \"{1}\"", + bat.WriteLine("\"{0}\" /toolsversion:3.5 /target:Rebuild /property:Configuration=Release /property:Platform=Win32 \"{1}\"", Paths.MSBuildFileName, Paths.VPN4SolutionFileName); bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR"); - bat.WriteLine("\"{0}\" /toolsversion:3.5 /verbosity:detailed /target:Rebuild /property:Configuration=Release /property:Platform=x64 \"{1}\"", + bat.WriteLine("\"{0}\" /toolsversion:3.5 /target:Rebuild /property:Configuration=Release /property:Platform=x64 \"{1}\"", Paths.MSBuildFileName, Paths.VPN4SolutionFileName); bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR");