diff --git a/Directory.Packages.props b/Directory.Packages.props
index 5c6392d..91678bd 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -3,14 +3,14 @@
true
-
+
-
-
+
+
\ No newline at end of file
diff --git a/build.ps1 b/build.ps1
index 21a0bb6..9b32821 100755
--- a/build.ps1
+++ b/build.ps1
@@ -2,14 +2,9 @@
$ErrorActionPreference = 'Stop'
Push-Location $PSScriptRoot
try {
- if (-not (Test-Path ./tools/bin/Build) -or
- (Get-ChildItem ./tools/Build/* | Measure-Object LastWriteTime -Maximum).Maximum -gt
- (Get-ChildItem ./tools/bin/Build/* | Measure-Object LastWriteTime -Maximum).Maximum) {
- if (Test-Path ./tools/bin/Build) { Remove-Item ./tools/bin/Build -Recurse }
- dotnet publish ./tools/Build/Build.csproj --output ./tools/bin/Build --nologo --verbosity quiet
- if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
- }
- dotnet ./tools/bin/Build/Build.dll $args
+ dotnet publish ./tools/Build/Build.csproj --artifacts-path ./artifacts --nologo --verbosity quiet
+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
+ dotnet ./artifacts/publish/Build/release/Build.dll $args
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
}
finally {