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

Edited Issue: Package of size 0 is created in cache when install fails [3354]

$
0
0
NuGet Version: 2.6.40514.9077

Repro:
- Uploaded a package to http://staging.nuget.org/ called "newbie.3.0.nupkg" using NuGet Push.
- Created a project called "ConsoleApplication1".
- Tried to install the package "newbie" from http://staging.nuget.org/api/v2/, but it failed, as shown in the figure zero_package_bug.png. The package was not downloaded (Error 404) , but an empty package file is created in cache.

Expected: _If package cannot be downloaded, NuGet.exe should not create a zero-byte package._
Consequence: _If I try again to install the package, it will only retrieve the zero-sized package from cache, without even looking for the repository._

Viewing all articles
Browse latest Browse all 7612


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