You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 18, 2018. It is now read-only.
The NuGet fallback folder for 2.1 is a whopping 1.01 GB once expanded on disk. This includes lots of packages that should be unnecessary to execute a .NET Core 2.1 application, but are still required to restore a .NET Core 2.1 application.
This includes:
multiple copies of the same package (Newtonsoft.Json 9, 10, and 11)
multiple versions of NETStandard.Library (1.6.0, 1.6.1, and 2.0.3)
a bunch of runtime.native.* specific packages. In theory, these should only be consumed when users are producing a self-contained app, but this is out of scope for the offline cache
670 MB of .xml docs
147 MB of .nupkg files (why are they needed -- the contents of the .nupkg have already been unzipped)
Result:
bloated Docker images
longer first-run experience required to expand all these files
wasted disk space on CI machines (xml docs are typically only used by IDEs)
More details
A peek inside. Here are the packages that consume the most disk space: