This project is read-only.


Corrupted package file in the package cache can break restore packages


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 2, 2012 at 12:52 AM by JeffHandley
Just stop corrupting your packages, @haacked. :-)

The fix is the clear your cache.


dotnetjunky wrote Nov 1, 2011 at 7:34 PM

what do you mean by correctuped package?

aldion wrote Nov 1, 2011 at 8:09 PM

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

dotnetjunky wrote Jan 17, 2012 at 3:42 AM

No repro for me.

SimonCropp wrote Mar 26, 2013 at 12:20 PM

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