From e80102dd038954a2885f96bb3a1fdfda287d1cc1 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Thu, 4 Nov 2021 23:44:03 +1300 Subject: [PATCH] Add clean to msbuild --- build-7z.cmd | 3 +-- build-all.ps1 | 2 +- build.cmd | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build-7z.cmd b/build-7z.cmd index f5709ed3..71763951 100644 --- a/build-7z.cmd +++ b/build-7z.cmd @@ -7,8 +7,7 @@ IF ERRORLEVEL 1 ( set ZIP_BIN=7z ) cd /d %~dp0 -msbuild -t:restore -p:RestorePackagesConfig=true -msbuild VRCX.sln /p:Configuration=Release /p:Platform=x64 -m +msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m cd html call npm ci call npm run production diff --git a/build-all.ps1 b/build-all.ps1 index 596f06b7..b94e0814 100644 --- a/build-all.ps1 +++ b/build-all.ps1 @@ -9,7 +9,7 @@ $ZipName = "VRCX_" + $Date + ".zip" $SetupName = "VRCX_" + $Date + "_Setup.exe" Write-Host "Building .Net..." -ForegroundColor Green -msbuild VRCX.sln /p:Configuration=Release /p:Platform=x64 -m +msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m Write-Host "Building Node.js..." -ForegroundColor Green cd "html" diff --git a/build.cmd b/build.cmd index 09063e8d..2dfaa583 100644 --- a/build.cmd +++ b/build.cmd @@ -1,8 +1,7 @@ @echo off setlocal cd /d %~dp0 -msbuild -t:restore -p:RestorePackagesConfig=true -msbuild VRCX.sln /p:Configuration=Release /p:Platform=x64 -m +msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m cd html call npm ci call npm run production