Skip to content

Commit 0af04db

Browse files
committed
No need to restore after a build
1 parent 07f39bb commit 0af04db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Write-Host "Done building." -ForegroundColor "Green"
1414

1515
if ($RunTests) {
1616
Write-Host "Running tests: Build.csproj traversal (all frameworks)" -ForegroundColor "Magenta"
17-
dotnet test "$PSScriptRoot\Build.csproj" --no-build --logger "console;verbosity=detailed"
17+
dotnet test "$PSScriptRoot\Build.csproj" --no-restore --no-build --logger "console;verbosity=detailed"
1818
if ($LastExitCode -ne 0) {
1919
Write-Host "Error with tests, aborting build." -Foreground "Red"
2020
Exit 1

0 commit comments

Comments
 (0)