File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -360,6 +360,9 @@ private bool RestoreSolution(string solution, out IEnumerable<string> projects)
360
360
361
361
/// <summary>
362
362
/// Executes `dotnet restore` on all solution files in solutions.
363
+ /// As opposed to RestoreProjects this is not run in parallel using PLINQ
364
+ /// as `dotnet restore` on a solution already uses multiple threads for restoring
365
+ /// the projects (this can be disabled with the `--disable-parallel` flag).
363
366
/// Returns a list of projects that are up to date with respect to restore.
364
367
/// </summary>
365
368
/// <param name="solutions">A list of paths to solution files.</param>
@@ -370,6 +373,13 @@ private IEnumerable<string> RestoreSolutions(IEnumerable<string> solutions) =>
370
373
return restoredProjects ;
371
374
} ) ;
372
375
376
+ /// <summary>
377
+ /// Executes `dotnet restore` on all projects in projects.
378
+ /// This is done in parallel for performance reasons.
379
+ /// To ensure that output is not interleaved, the output of each
380
+ /// restore is collected and printed.
381
+ /// </summary>
382
+ /// <param name="projects">A list of paths to project files.</param>
373
383
private void RestoreProjects ( IEnumerable < string > projects )
374
384
{
375
385
var stdoutLines = projects
You can’t perform that action at this time.
0 commit comments