Add clean to msbuild

This commit is contained in:
Natsumi
2021-11-04 23:44:03 +13:00
parent 7af5055b7b
commit e80102dd03
3 changed files with 3 additions and 5 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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