IssueRaiser

NuGet should refresh its HTTP cache if it can't find the package requested

We see restore failures when we update a project to consume a package that was just published. We can use `--no-cache` to workaround it, but that shouldn't be necessary. It seems like NuGet should realize it is running from a cache, and attempt to refresh that cache, before failing the restore because it cannot find the package. This would still let the common case be fast while not failing in the case that the cache was stale.

Posted by ericstj on Jul 12, 2016, 7:02 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,000 issues0 comments

github (Other)

NuGet should refresh its HTTP cache if it can't find the package requested

ericstjJul 12, 2016, 7:02 PM

We see restore failures when we update a project to consume a package that was just published. We can use `--no-cache` to workaround it, but that shouldn't be necessary. It seems like NuGet should realize it is running from a cache, and attempt to refresh that cache, before failing the restore because it cannot find the package. This would still let the common case be fast while not failing in the case that the cache was stale.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue