build.ps1: add 'Configuration' and 'Platform' parameters to the script. Changed paths: M /poshsvn/trunk/build.ps1 Modified: poshsvn/trunk/build.ps1 =================================================================== --- poshsvn/trunk/build.ps1 (rev 3421) +++ poshsvn/trunk/build.ps1 (rev 3422) @@ -8,7 +8,17 @@ # Launches the installer after build. [Parameter()] [switch] - $Install + $Install, + + [Parameter()] + [ValidateSet("Release", "Debug")] + [string] + $Configuration = "Release", + + [Parameter()] + [ValidateSet("x64", "x86")] + [string] + $Platform = "x64", ) if ($Target -ne "All" -and $Target -ne "Installer" -and $Install) { @@ -32,7 +42,9 @@ $installationPath = & $vswhere -property "installationPath" $msbuild = "$installationPath\MSBuild\Current\Bin\MSBuild.exe" -& $msbuild /property:Configuration=Release /t:$msbuildTarget /restore /fileLogger /fileLoggerParameters:verbosity=normal +& $msbuild /property:Configuration=$Configuration /property:Platform=$Platform ` + /t:$msbuildTarget /restore ` + /fileLogger /fileLoggerParameters:verbosity=normal if ($Install) { msiexec.exe /i bin\Release-x64\Installer\en-US\PoshSvn.msi /qb