Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit d4a6230

Browse files
committed
Turn off parallel package restore by default
It is currently causing intermittent restore failure
1 parent 683853a commit d4a6230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dir.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
<DnuRestoreCommand>"$(DnuToolPath)"</DnuRestoreCommand>
8787
<DnuRestoreCommand>$(DnuRestoreCommand) restore</DnuRestoreCommand>
88-
<DnuRestoreCommand>$(DnuRestoreCommand) --parallel</DnuRestoreCommand>
88+
<DnuRestoreCommand Condition="'$(ParallelRestore)'=='true'">$(DnuRestoreCommand) --parallel</DnuRestoreCommand>
8989
<DnuRestoreCommand>$(DnuRestoreCommand) --packages "$(PackagesDir.TrimEnd('/\'.ToCharArray()))" $(DnuRestoreSource)</DnuRestoreCommand>
9090
<DnuRestoreCommand Condition="'$(LockDependencies)' == 'true'">$(DnuRestoreCommand) --lock</DnuRestoreCommand>
9191
</PropertyGroup>

0 commit comments

Comments
 (0)