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 set ZIP_BIN=7z
) )
cd /d %~dp0 cd /d %~dp0
msbuild -t:restore -p:RestorePackagesConfig=true msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m
msbuild VRCX.sln /p:Configuration=Release /p:Platform=x64 -m
cd html cd html
call npm ci call npm ci
call npm run production call npm run production

View File

@@ -9,7 +9,7 @@ $ZipName = "VRCX_" + $Date + ".zip"
$SetupName = "VRCX_" + $Date + "_Setup.exe" $SetupName = "VRCX_" + $Date + "_Setup.exe"
Write-Host "Building .Net..." -ForegroundColor Green 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 Write-Host "Building Node.js..." -ForegroundColor Green
cd "html" cd "html"

View File

@@ -1,8 +1,7 @@
@echo off @echo off
setlocal setlocal
cd /d %~dp0 cd /d %~dp0
msbuild -t:restore -p:RestorePackagesConfig=true msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m
msbuild VRCX.sln /p:Configuration=Release /p:Platform=x64 -m
cd html cd html
call npm ci call npm ci
call npm run production call npm run production