1

Closed

Corrupted package file in the package cache can break restore packages

description

I can see two ways to address it:
  1. If something goes wrong during download the cache, clean the file up (I’m guessing this is caused by an aborted download of sort)
  2. When reading from the nuget cache, we need to recover from the presence of bad files (and delete them)
Closed Mar 1, 2012 at 11:52 PM by JeffHandley
Just stop corrupting your packages, @haacked. :-)

The fix is the clear your cache.

comments

dotnetjunky wrote Nov 1, 2011 at 6:34 PM

what do you mean by correctuped package?

aldion wrote Nov 1, 2011 at 7:09 PM

I assume when the files are missing a few bytes/wrong checksum

dotnetjunky wrote Jan 17, 2012 at 2:42 AM

No repro for me.

SimonCropp wrote Mar 26, 2013 at 11:20 AM

can this be re-opened?
The hard to discover workaround is not really a good solution to this issue.