From 5f9dbb099425111a67a6411300d16b8ac7e8814f Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Sat, 27 Mar 2021 17:44:47 +0800 Subject: [PATCH] Update BUILD.ps1, Remove CLEAN.ps1 --- BUILD.ps1 | 8 +++----- CLEAN.ps1 | 21 --------------------- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 CLEAN.ps1 diff --git a/BUILD.ps1 b/BUILD.ps1 index a516a1d9..b459b0dc 100644 --- a/BUILD.ps1 +++ b/BUILD.ps1 @@ -1,10 +1,8 @@ Write-Host 'Building' -msbuild -v:n /p:Configuration="Release" ` - /p:Platform="x64" ` - /p:TargetFramework=net48 ` - /p:SolutionDir="$pwd\" ` - /restore ` +dotnet build -p:Configuration="Release" ` + -p:SolutionDir="$pwd\" ` + -restore ` Netch\Netch.csproj if ($LASTEXITCODE) { exit $LASTEXITCODE } diff --git a/CLEAN.ps1 b/CLEAN.ps1 deleted file mode 100644 index 307ba1e3..00000000 --- a/CLEAN.ps1 +++ /dev/null @@ -1,21 +0,0 @@ -if (Test-Path Netch\bin) -{ - Remove-Item -Recurse -Force Netch\bin -} - -if (Test-Path Netch\obj) -{ - Remove-Item -Recurse -Force Netch\obj -} - -if (Test-Path NetchLib\bin) -{ - Remove-Item -Recurse -Force NetchLib\bin -} - -if (Test-Path NetchLib\obj) -{ - Remove-Item -Recurse -Force NetchLib\obj -} - -exit 0