Replies: 1 comment 5 replies
-
NuGet has a feature called fallback folders. If the package exists in the fallback folder, then NuGet doesn't need to download it. When you look at the assets file, there's a section named "packageFolders". Does it contain more than one directory? Does the package already exist in a directory that is not your global packages folder? Our nuget.config reference docs defines the fallback package folders section, and if you add it to your nuget.config file with |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've got a question around why some transitive packages are not downloaded in the local nuget cache, even though they're referenced in the project.assets.json file.
To reproduce this:
Looking at the project.assets.json file created I see a reference to "System.Diagnostics.Process/4.3.0" in the libraries section of the JSON file, which to my understanding (and correct me if I'm wrong), it's where the "resolved" packages are listed. When I search in my local nuget cache folder (c:\Users<user>.nuget) I don't find any folder for System.Diagnostics.Process.
Any hint on why this happens, would be useful.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions