Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Issue: Clean cache automatically when package corrupted [3176]

$
0
0
Today when I tried to install several nuget packages (Fody addins), I got error "Received an unexpected EOF or 0 bytes from the transport stream". Since I never experienced this error with other packages, I thought that was Fody's issue, so I raised a bug with Fody: [https://github.com/Fody/Fody/issues/55](https://github.com/Fody/Fody/issues/55)

At the end, the issue was fixed by deleting nuget's cache folder and manually downloading the package from web browser and coping it to the cache folder.

nuget should handle this issue automatically, or at least display a more useful error message like "Oops, something went wrong, we might have some corrupted packages in the cache folder. Please try..."

Comments: Please attach the corrupted package file if you still have it. NuGet already performs basic validation of package files and errors are reported if corruption is detected. Without your file, I can't figure out what the problem is.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>