Skip to content

C#: NoOpPackageRestore only needs the PackageConfigs collection and n…#22011

Draft
michaelnebel wants to merge 4 commits into
github:mainfrom
michaelnebel:csharp/removeafallback
Draft

C#: NoOpPackageRestore only needs the PackageConfigs collection and n…#22011
michaelnebel wants to merge 4 commits into
github:mainfrom
michaelnebel:csharp/removeafallback

Conversation

@michaelnebel

Copy link
Copy Markdown
Contributor

…ot the entire FileProvider.

@github-actions github-actions Bot added the C# label Jun 19, 2026
@michaelnebel michaelnebel force-pushed the csharp/removeafallback branch from b12d21a to 62bfb70 Compare June 19, 2026 12:49
Comment on lines +249 to +252
catch (Exception exc)
{
logger.LogWarning($"Failed to get directory of '{path}': {exc}");
}
Comment on lines +197 to +210
catch (Exception exc)
{
if (exc is TaskCanceledException tce &&
tce.CancellationToken == cts.Token &&
cts.Token.IsCancellationRequested)
{
logger.LogInfo($"Didn't receive answer from NuGet feed '{feed}' in {timeoutMilliSeconds}ms.");
timeoutMilliSeconds *= 2;
continue;
}

logger.LogInfo($"Querying NuGet feed '{feed}' failed. The reason for the failure: {exc.Message}");
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants