3 references to MaxAttempts
Microsoft.DotNet.Build.Tasks.Installers (3)
src\ExecWithRetries.cs (3)
64
for (int i = 0; i <
MaxAttempts
; i++)
90
string message = $"Exec FAILED: exit code {exitCode} (attempt {i + 1}/{
MaxAttempts
})";
92
if (i + 1 ==
MaxAttempts
|| _cancelTokenSource.IsCancellationRequested)