Update BUILD.ps1, Remove CLEAN.ps1

This commit is contained in:
ChsBuffer
2021-03-27 17:44:47 +08:00
parent 3cbd5af9a3
commit 5f9dbb0994
2 changed files with 3 additions and 26 deletions

View File

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

View File

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