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