clean before build

This commit is contained in:
David Refoua 2018-03-29 03:23:18 +04:30 committed by GitHub
parent 93d2c427ad
commit 3965852c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ Pop-Location
if($Compile) {
Push-Location -Path $launcher
Create-RC $Version ($launcher + '\src\version.rc2');
msbuild CmderLauncher.vcxproj /p:configuration=Release
msbuild CmderLauncher.vcxproj /t:Clean,Build /p:configuration=Release
if ($LastExitCode -ne 0) {
throw "msbuild failed to build the executable."
}